@Stability(value=Stable) public static final class CfnDeploymentGroupProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDeploymentGroupProps>
CfnDeploymentGroupProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDeploymentGroupProps.Builder applicationName(String applicationName)
CfnDeploymentGroupProps.getApplicationName()applicationName - The name of an existing CodeDeploy application to associate this deployment group with. This parameter is required.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder serviceRoleArn(String serviceRoleArn)
CfnDeploymentGroupProps.getServiceRoleArn()serviceRoleArn - A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf. This parameter is required.
For more information, see Create a Service Role for AWS CodeDeploy in the AWS CodeDeploy User Guide .
In some cases, you might need to add a dependency on the service role's policy. For more information, see IAM role policy in DependsOn Attribute .
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder alarmConfiguration(CfnDeploymentGroup.AlarmConfigurationProperty alarmConfiguration)
CfnDeploymentGroupProps.getAlarmConfiguration()alarmConfiguration - Information about the Amazon CloudWatch alarms that are associated with the deployment group.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder alarmConfiguration(IResolvable alarmConfiguration)
CfnDeploymentGroupProps.getAlarmConfiguration()alarmConfiguration - Information about the Amazon CloudWatch alarms that are associated with the deployment group.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder autoRollbackConfiguration(CfnDeploymentGroup.AutoRollbackConfigurationProperty autoRollbackConfiguration)
CfnDeploymentGroupProps.getAutoRollbackConfiguration()autoRollbackConfiguration - Information about the automatic rollback configuration that is associated with the deployment group.
If you specify this property, don't specify the Deployment property.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder autoRollbackConfiguration(IResolvable autoRollbackConfiguration)
CfnDeploymentGroupProps.getAutoRollbackConfiguration()autoRollbackConfiguration - Information about the automatic rollback configuration that is associated with the deployment group.
If you specify this property, don't specify the Deployment property.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder autoScalingGroups(List<String> autoScalingGroups)
CfnDeploymentGroupProps.getAutoScalingGroups()autoScalingGroups - A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created.
Duplicates are not allowed.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder blueGreenDeploymentConfiguration(CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty blueGreenDeploymentConfiguration)
CfnDeploymentGroupProps.getBlueGreenDeploymentConfiguration()blueGreenDeploymentConfiguration - Information about blue/green deployment options for a deployment group.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder blueGreenDeploymentConfiguration(IResolvable blueGreenDeploymentConfiguration)
CfnDeploymentGroupProps.getBlueGreenDeploymentConfiguration()blueGreenDeploymentConfiguration - Information about blue/green deployment options for a deployment group.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder deployment(CfnDeploymentGroup.DeploymentProperty deployment)
CfnDeploymentGroupProps.getDeployment()deployment - The application revision to deploy to this deployment group.
If you specify this property, your target application revision is deployed as soon as the provisioning process is complete. If you specify this property, don't specify the AutoRollbackConfiguration property.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder deployment(IResolvable deployment)
CfnDeploymentGroupProps.getDeployment()deployment - The application revision to deploy to this deployment group.
If you specify this property, your target application revision is deployed as soon as the provisioning process is complete. If you specify this property, don't specify the AutoRollbackConfiguration property.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder deploymentConfigName(String deploymentConfigName)
CfnDeploymentGroupProps.getDeploymentConfigName()deploymentConfigName - A deployment configuration name or a predefined configuration name.
With predefined configurations, you can deploy application revisions to one instance at a time ( CodeDeployDefault.OneAtATime ), half of the instances at a time ( CodeDeployDefault.HalfAtATime ), or all the instances at once ( CodeDeployDefault.AllAtOnce ). For more information and valid values, see Working with Deployment Configurations in the AWS CodeDeploy User Guide .this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder deploymentGroupName(String deploymentGroupName)
CfnDeploymentGroupProps.getDeploymentGroupName()deploymentGroupName - A name for the deployment group.
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment group name. For more information, see Name Type .
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder deploymentStyle(CfnDeploymentGroup.DeploymentStyleProperty deploymentStyle)
CfnDeploymentGroupProps.getDeploymentStyle()deploymentStyle - Attributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer.
If you specify this property with a blue/green deployment type, don't specify the AutoScalingGroups , LoadBalancerInfo , or Deployment properties.
For blue/green deployments, AWS CloudFormation supports deployments on Lambda compute platforms only. You can perform Amazon ECS blue/green deployments using
AWS::CodeDeploy::BlueGreenhook. See Perform Amazon ECS blue/green deployments through CodeDeploy using AWS CloudFormation for more information.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder deploymentStyle(IResolvable deploymentStyle)
CfnDeploymentGroupProps.getDeploymentStyle()deploymentStyle - Attributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer.
If you specify this property with a blue/green deployment type, don't specify the AutoScalingGroups , LoadBalancerInfo , or Deployment properties.
For blue/green deployments, AWS CloudFormation supports deployments on Lambda compute platforms only. You can perform Amazon ECS blue/green deployments using
AWS::CodeDeploy::BlueGreenhook. See Perform Amazon ECS blue/green deployments through CodeDeploy using AWS CloudFormation for more information.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder ec2TagFilters(IResolvable ec2TagFilters)
CfnDeploymentGroupProps.getEc2TagFilters()ec2TagFilters - The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.
CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed.
You can specify EC2TagFilters or Ec2TagSet , but not both.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder ec2TagFilters(List<? extends Object> ec2TagFilters)
CfnDeploymentGroupProps.getEc2TagFilters()ec2TagFilters - The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.
CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed.
You can specify EC2TagFilters or Ec2TagSet , but not both.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder ec2TagSet(CfnDeploymentGroup.EC2TagSetProperty ec2TagSet)
CfnDeploymentGroupProps.getEc2TagSet()ec2TagSet - Information about groups of tags applied to Amazon EC2 instances.
The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilter .this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder ec2TagSet(IResolvable ec2TagSet)
CfnDeploymentGroupProps.getEc2TagSet()ec2TagSet - Information about groups of tags applied to Amazon EC2 instances.
The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilter .this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder ecsServices(IResolvable ecsServices)
CfnDeploymentGroupProps.getEcsServices()ecsServices - 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> .this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder ecsServices(List<? extends Object> ecsServices)
CfnDeploymentGroupProps.getEcsServices()ecsServices - 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> .this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder loadBalancerInfo(CfnDeploymentGroup.LoadBalancerInfoProperty loadBalancerInfo)
CfnDeploymentGroupProps.getLoadBalancerInfo()loadBalancerInfo - Information about the load balancer to use in a deployment.
For more information, see Integrating CodeDeploy with Elastic Load Balancing in the AWS CodeDeploy User Guide .this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder loadBalancerInfo(IResolvable loadBalancerInfo)
CfnDeploymentGroupProps.getLoadBalancerInfo()loadBalancerInfo - Information about the load balancer to use in a deployment.
For more information, see Integrating CodeDeploy with Elastic Load Balancing in the AWS CodeDeploy User Guide .this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder onPremisesInstanceTagFilters(IResolvable onPremisesInstanceTagFilters)
CfnDeploymentGroupProps.getOnPremisesInstanceTagFilters()onPremisesInstanceTagFilters - The on-premises instance tags already applied to on-premises instances that you want to include in the deployment group.
CodeDeploy includes all on-premises instances identified by any of the tags you specify in this deployment group. To register on-premises instances with CodeDeploy , see Working with On-Premises Instances for CodeDeploy in the AWS CodeDeploy User Guide . Duplicates are not allowed.
You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet , but not both.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder onPremisesInstanceTagFilters(List<? extends Object> onPremisesInstanceTagFilters)
CfnDeploymentGroupProps.getOnPremisesInstanceTagFilters()onPremisesInstanceTagFilters - The on-premises instance tags already applied to on-premises instances that you want to include in the deployment group.
CodeDeploy includes all on-premises instances identified by any of the tags you specify in this deployment group. To register on-premises instances with CodeDeploy , see Working with On-Premises Instances for CodeDeploy in the AWS CodeDeploy User Guide . Duplicates are not allowed.
You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet , but not both.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder onPremisesTagSet(CfnDeploymentGroup.OnPremisesTagSetProperty onPremisesTagSet)
CfnDeploymentGroupProps.getOnPremisesTagSet()onPremisesTagSet - Information about groups of tags applied to on-premises instances.
The deployment group includes only on-premises instances identified by all the tag groups.
You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet , but not both.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder onPremisesTagSet(IResolvable onPremisesTagSet)
CfnDeploymentGroupProps.getOnPremisesTagSet()onPremisesTagSet - Information about groups of tags applied to on-premises instances.
The deployment group includes only on-premises instances identified by all the tag groups.
You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet , but not both.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder outdatedInstancesStrategy(String outdatedInstancesStrategy)
CfnDeploymentGroupProps.getOutdatedInstancesStrategy()outdatedInstancesStrategy - Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE , CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.
this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder tags(List<? extends CfnTag> tags)
CfnDeploymentGroupProps.getTags()tags - 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.this@Stability(value=Stable) public CfnDeploymentGroupProps.Builder triggerConfigurations(IResolvable triggerConfigurations)
CfnDeploymentGroupProps.getTriggerConfigurations()triggerConfigurations - Information about triggers associated with the deployment group.
Duplicates are not allowedthis@Stability(value=Stable) public CfnDeploymentGroupProps.Builder triggerConfigurations(List<? extends Object> triggerConfigurations)
CfnDeploymentGroupProps.getTriggerConfigurations()triggerConfigurations - Information about triggers associated with the deployment group.
Duplicates are not allowedthis@Stability(value=Stable) public CfnDeploymentGroupProps build()
build in interface software.amazon.jsii.Builder<CfnDeploymentGroupProps>CfnDeploymentGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.