CreateDeploymentGroupInput
public struct CreateDeploymentGroupInput : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Information to add about Amazon CloudWatch alarms when the deployment group is created.
Declaration
Swift
public let alarmConfiguration: AlarmConfiguration?
-
The name of an AWS CodeDeploy application associated with the IAM user or AWS account.
Declaration
Swift
public let applicationName: String
-
Configuration information for an automatic rollback that is added when a deployment group is created.
Declaration
Swift
public let autoRollbackConfiguration: AutoRollbackConfiguration?
-
A list of associated Amazon EC2 Auto Scaling groups.
Declaration
Swift
public let autoScalingGroups: [String]?
-
Information about blue/green deployment options for a deployment group.
Declaration
Swift
public let blueGreenDeploymentConfiguration: BlueGreenDeploymentConfiguration?
-
If specified, the deployment configuration name can be either one of the predefined configurations provided with AWS CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation. CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn’t specified for the deployment or deployment group. For more information about the predefined deployment configurations in AWS CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the AWS CodeDeploy User Guide.
Declaration
Swift
public let deploymentConfigName: String?
-
The name of a new deployment group for the specified application.
Declaration
Swift
public let deploymentGroupName: String
-
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.
Declaration
Swift
public let deploymentStyle: DeploymentStyle?
-
The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
Declaration
Swift
public let ec2TagFilters: [EC2TagFilter]?
-
Information about groups of tags applied to EC2 instances. The deployment group includes only EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.
Declaration
Swift
public let ec2TagSet: EC2TagSet?
-
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name pair using the format <clustername>:<servicename>.
Declaration
Swift
public let ecsServices: [ECSService]?
-
Information about the load balancer used in a deployment.
Declaration
Swift
public let loadBalancerInfo: LoadBalancerInfo?
-
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.
Declaration
Swift
public let onPremisesInstanceTagFilters: [TagFilter]?
-
Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises instances identified by all of the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
Declaration
Swift
public let onPremisesTagSet: OnPremisesTagSet?
-
A service role Amazon Resource Name (ARN) that allows AWS CodeDeploy to act on the user’s behalf when interacting with AWS services.
Declaration
Swift
public let serviceRoleArn: String
-
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
Declaration
Swift
public let tags: [Tag]?
-
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an AWS CodeDeploy Event in the AWS CodeDeploy User Guide.
Declaration
Swift
public let triggerConfigurations: [TriggerConfig]?
-
init(alarmConfiguration:applicationName:autoRollbackConfiguration:autoScalingGroups:blueGreenDeploymentConfiguration:deploymentConfigName:deploymentGroupName:deploymentStyle:ec2TagFilters:ec2TagSet:ecsServices:loadBalancerInfo:onPremisesInstanceTagFilters:onPremisesTagSet:serviceRoleArn:tags:triggerConfigurations:)
Undocumented
Declaration
Swift
public init(alarmConfiguration: AlarmConfiguration? = nil, applicationName: String, autoRollbackConfiguration: AutoRollbackConfiguration? = nil, autoScalingGroups: [String]? = nil, blueGreenDeploymentConfiguration: BlueGreenDeploymentConfiguration? = nil, deploymentConfigName: String? = nil, deploymentGroupName: String, deploymentStyle: DeploymentStyle? = nil, ec2TagFilters: [EC2TagFilter]? = nil, ec2TagSet: EC2TagSet? = nil, ecsServices: [ECSService]? = nil, loadBalancerInfo: LoadBalancerInfo? = nil, onPremisesInstanceTagFilters: [TagFilter]? = nil, onPremisesTagSet: OnPremisesTagSet? = nil, serviceRoleArn: String, tags: [Tag]? = nil, triggerConfigurations: [TriggerConfig]? = nil)
-
Declaration
Swift
public func validate(name: String) throws