Class CfnDeploymentGroup
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::CodeDeploy::DeploymentGroup.
The AWS::CodeDeploy::DeploymentGroup resource creates an AWS CodeDeploy deployment group that specifies which instances your application revisions are deployed to, along with other deployment options. For more information, see CreateDeploymentGroup in the CodeDeploy API Reference .
Amazon ECS blue/green deployments through CodeDeploy do not use the
AWS::CodeDeploy::DeploymentGroupresource. To perform Amazon ECS blue/green deployments, use theAWS::CodeDeploy::BlueGreenhook. See Perform Amazon ECS blue/green deployments through CodeDeploy using AWS CloudFormation for more information.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codedeploy.*;
CfnDeploymentGroup cfnDeploymentGroup = CfnDeploymentGroup.Builder.create(this, "MyCfnDeploymentGroup")
.applicationName("applicationName")
.serviceRoleArn("serviceRoleArn")
// the properties below are optional
.alarmConfiguration(AlarmConfigurationProperty.builder()
.alarms(List.of(AlarmProperty.builder()
.name("name")
.build()))
.enabled(false)
.ignorePollAlarmFailure(false)
.build())
.autoRollbackConfiguration(AutoRollbackConfigurationProperty.builder()
.enabled(false)
.events(List.of("events"))
.build())
.autoScalingGroups(List.of("autoScalingGroups"))
.blueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationProperty.builder()
.deploymentReadyOption(DeploymentReadyOptionProperty.builder()
.actionOnTimeout("actionOnTimeout")
.waitTimeInMinutes(123)
.build())
.greenFleetProvisioningOption(GreenFleetProvisioningOptionProperty.builder()
.action("action")
.build())
.terminateBlueInstancesOnDeploymentSuccess(BlueInstanceTerminationOptionProperty.builder()
.action("action")
.terminationWaitTimeInMinutes(123)
.build())
.build())
.deployment(DeploymentProperty.builder()
.revision(RevisionLocationProperty.builder()
.gitHubLocation(GitHubLocationProperty.builder()
.commitId("commitId")
.repository("repository")
.build())
.revisionType("revisionType")
.s3Location(S3LocationProperty.builder()
.bucket("bucket")
.key("key")
// the properties below are optional
.bundleType("bundleType")
.eTag("eTag")
.version("version")
.build())
.build())
// the properties below are optional
.description("description")
.ignoreApplicationStopFailures(false)
.build())
.deploymentConfigName("deploymentConfigName")
.deploymentGroupName("deploymentGroupName")
.deploymentStyle(DeploymentStyleProperty.builder()
.deploymentOption("deploymentOption")
.deploymentType("deploymentType")
.build())
.ec2TagFilters(List.of(EC2TagFilterProperty.builder()
.key("key")
.type("type")
.value("value")
.build()))
.ec2TagSet(EC2TagSetProperty.builder()
.ec2TagSetList(List.of(EC2TagSetListObjectProperty.builder()
.ec2TagGroup(List.of(EC2TagFilterProperty.builder()
.key("key")
.type("type")
.value("value")
.build()))
.build()))
.build())
.ecsServices(List.of(ECSServiceProperty.builder()
.clusterName("clusterName")
.serviceName("serviceName")
.build()))
.loadBalancerInfo(LoadBalancerInfoProperty.builder()
.elbInfoList(List.of(ELBInfoProperty.builder()
.name("name")
.build()))
.targetGroupInfoList(List.of(TargetGroupInfoProperty.builder()
.name("name")
.build()))
.targetGroupPairInfoList(List.of(TargetGroupPairInfoProperty.builder()
.prodTrafficRoute(TrafficRouteProperty.builder()
.listenerArns(List.of("listenerArns"))
.build())
.targetGroups(List.of(TargetGroupInfoProperty.builder()
.name("name")
.build()))
.testTrafficRoute(TrafficRouteProperty.builder()
.listenerArns(List.of("listenerArns"))
.build())
.build()))
.build())
.onPremisesInstanceTagFilters(List.of(TagFilterProperty.builder()
.key("key")
.type("type")
.value("value")
.build()))
.onPremisesTagSet(OnPremisesTagSetProperty.builder()
.onPremisesTagSetList(List.of(OnPremisesTagSetListObjectProperty.builder()
.onPremisesTagGroup(List.of(TagFilterProperty.builder()
.key("key")
.type("type")
.value("value")
.build()))
.build()))
.build())
.outdatedInstancesStrategy("outdatedInstancesStrategy")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.triggerConfigurations(List.of(TriggerConfigProperty.builder()
.triggerEvents(List.of("triggerEvents"))
.triggerName("triggerName")
.triggerTargetArn("triggerTargetArn")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTheAlarmConfigurationproperty type configures CloudWatch alarms for an AWS CodeDeploy deployment group.static interfaceTheAlarmproperty type specifies a CloudWatch alarm to use for an AWS CodeDeploy deployment group.static interfaceTheAutoRollbackConfigurationproperty type configures automatic rollback for an AWS CodeDeploy deployment group when a deployment is not completed successfully.static interfaceInformation about blue/green deployment options for a deployment group.static interfaceInformation about whether instances in the original environment are terminated when a blue/green deployment is successful.static final classA fluent builder forCfnDeploymentGroup.static interfaceDeploymentis a property of the DeploymentGroup resource that specifies an AWS CodeDeploy application revision to be deployed to instances in the deployment group.static interfaceInformation about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.static interfaceInformation about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.static interfaceInformation about an Amazon EC2 tag filter.static interfaceTheEC2TagSetproperty type specifies information about groups of tags applied to Amazon EC2 instances.static interfaceTheEC2TagSetproperty type specifies information about groups of tags applied to Amazon EC2 instances.static interfaceContains the service and cluster names used to identify an Amazon ECS deployment's target.static interfaceTheELBInfoproperty type specifies information about the Elastic Load Balancing load balancer used for an CodeDeploy deployment group.static interfaceGitHubLocationis a property of the CodeDeploy DeploymentGroup Revision property that specifies the location of an application revision that is stored in GitHub.static interfaceInformation about the instances that belong to the replacement environment in a blue/green deployment.static interfaceTheLoadBalancerInfoproperty type specifies information about the load balancer or target group used for an AWS CodeDeploy deployment group.static interfaceTheOnPremisesTagSetListObjectproperty type specifies lists of on-premises instance tag groups.static interfaceTheOnPremisesTagSetproperty type specifies a list containing other lists of on-premises instance tag groups.static interfaceRevisionLocationis a property that defines the location of the CodeDeploy application revision to deploy.static interfaceS3Locationis a property of the CodeDeploy DeploymentGroup Revision property that specifies the location of an application revision that is stored in Amazon Simple Storage Service ( Amazon S3 ).static interfaceTagFilteris a property type of the AWS::CodeDeploy::DeploymentGroup resource that specifies which on-premises instances to associate with the deployment group.static interfaceTheTargetGroupInfoproperty type specifies information about a target group in Elastic Load Balancing to use in a deployment.static interfaceExample:static interfaceExample:static interfaceInformation about notification triggers for the deployment group.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnDeploymentGroup(Construct scope, String id, CfnDeploymentGroupProps props) Create a newAWS::CodeDeploy::DeploymentGroup.protectedCfnDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionInformation about the Amazon CloudWatch alarms that are associated with the deployment group.The name of an existing CodeDeploy application to associate this deployment group with.Information about the automatic rollback configuration that is associated with the deployment group.A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created.Information about blue/green deployment options for a deployment group.The application revision to deploy to this deployment group.A deployment configuration name or a predefined configuration name.A name for the deployment group.Attributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer.The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.Information about groups of tags applied to Amazon EC2 instances.The target Amazon ECS services in the deployment group.Information about the load balancer to use in a deployment.The on-premises instance tags already applied to on-premises instances that you want to include in the deployment group.Information about groups of tags applied to on-premises instances.AWS::CodeDeploy::DeploymentGroup.OutdatedInstancesStrategy.A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf.getTags()AWS::CodeDeploy::DeploymentGroup.Tags.Information about triggers associated with the deployment group.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAlarmConfiguration(IResolvable value) Information about the Amazon CloudWatch alarms that are associated with the deployment group.voidInformation about the Amazon CloudWatch alarms that are associated with the deployment group.voidsetApplicationName(String value) The name of an existing CodeDeploy application to associate this deployment group with.voidInformation about the automatic rollback configuration that is associated with the deployment group.voidInformation about the automatic rollback configuration that is associated with the deployment group.voidsetAutoScalingGroups(List<String> value) A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created.voidInformation about blue/green deployment options for a deployment group.voidsetBlueGreenDeploymentConfiguration(CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty value) Information about blue/green deployment options for a deployment group.voidsetDeployment(IResolvable value) The application revision to deploy to this deployment group.voidThe application revision to deploy to this deployment group.voidsetDeploymentConfigName(String value) A deployment configuration name or a predefined configuration name.voidsetDeploymentGroupName(String value) A name for the deployment group.voidsetDeploymentStyle(IResolvable value) Attributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer.voidAttributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer.voidsetEc2TagFilters(List<Object> value) The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.voidsetEc2TagFilters(IResolvable value) The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.voidsetEc2TagSet(IResolvable value) Information about groups of tags applied to Amazon EC2 instances.voidInformation about groups of tags applied to Amazon EC2 instances.voidsetEcsServices(List<Object> value) The target Amazon ECS services in the deployment group.voidsetEcsServices(IResolvable value) The target Amazon ECS services in the deployment group.voidsetLoadBalancerInfo(IResolvable value) Information about the load balancer to use in a deployment.voidInformation about the load balancer to use in a deployment.voidThe on-premises instance tags already applied to on-premises instances that you want to include in the deployment group.voidThe on-premises instance tags already applied to on-premises instances that you want to include in the deployment group.voidsetOnPremisesTagSet(IResolvable value) Information about groups of tags applied to on-premises instances.voidInformation about groups of tags applied to on-premises instances.voidAWS::CodeDeploy::DeploymentGroup.OutdatedInstancesStrategy.voidsetServiceRoleArn(String value) A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf.voidsetTriggerConfigurations(List<Object> value) Information about triggers associated with the deployment group.voidInformation about triggers associated with the deployment group.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDeploymentGroup
protected CfnDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDeploymentGroup
protected CfnDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDeploymentGroup
@Stability(Stable) public CfnDeploymentGroup(@NotNull Construct scope, @NotNull String id, @NotNull CfnDeploymentGroupProps props) Create a newAWS::CodeDeploy::DeploymentGroup.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
AWS::CodeDeploy::DeploymentGroup.Tags. -
getApplicationName
The name of an existing CodeDeploy application to associate this deployment group with. -
setApplicationName
The name of an existing CodeDeploy application to associate this deployment group with. -
getServiceRoleArn
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf.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 .
-
setServiceRoleArn
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf.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 .
-
getAlarmConfiguration
Information about the Amazon CloudWatch alarms that are associated with the deployment group. -
setAlarmConfiguration
Information about the Amazon CloudWatch alarms that are associated with the deployment group. -
setAlarmConfiguration
@Stability(Stable) public void setAlarmConfiguration(@Nullable CfnDeploymentGroup.AlarmConfigurationProperty value) Information about the Amazon CloudWatch alarms that are associated with the deployment group. -
getAutoRollbackConfiguration
Information about the automatic rollback configuration that is associated with the deployment group.If you specify this property, don't specify the
Deploymentproperty. -
setAutoRollbackConfiguration
Information about the automatic rollback configuration that is associated with the deployment group.If you specify this property, don't specify the
Deploymentproperty. -
setAutoRollbackConfiguration
@Stability(Stable) public void setAutoRollbackConfiguration(@Nullable CfnDeploymentGroup.AutoRollbackConfigurationProperty value) Information about the automatic rollback configuration that is associated with the deployment group.If you specify this property, don't specify the
Deploymentproperty. -
getAutoScalingGroups
A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created.Duplicates are not allowed.
-
setAutoScalingGroups
A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created.Duplicates are not allowed.
-
getBlueGreenDeploymentConfiguration
Information about blue/green deployment options for a deployment group. -
setBlueGreenDeploymentConfiguration
Information about blue/green deployment options for a deployment group. -
setBlueGreenDeploymentConfiguration
@Stability(Stable) public void setBlueGreenDeploymentConfiguration(@Nullable CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty value) Information about blue/green deployment options for a deployment group. -
getDeployment
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
AutoRollbackConfigurationproperty. -
setDeployment
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
AutoRollbackConfigurationproperty. -
setDeployment
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
AutoRollbackConfigurationproperty. -
getDeploymentConfigName
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 . -
setDeploymentConfigName
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 . -
getDeploymentGroupName
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.
-
setDeploymentGroupName
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.
-
getDeploymentStyle
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, orDeploymentproperties.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. -
setDeploymentStyle
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, orDeploymentproperties.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. -
setDeploymentStyle
@Stability(Stable) public void setDeploymentStyle(@Nullable CfnDeploymentGroup.DeploymentStyleProperty value) 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, orDeploymentproperties.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. -
getEc2TagFilters
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
EC2TagFiltersorEc2TagSet, but not both. -
setEc2TagFilters
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
EC2TagFiltersorEc2TagSet, but not both. -
setEc2TagFilters
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
EC2TagFiltersorEc2TagSet, but not both. -
getEc2TagSet
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. -
setEc2TagSet
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. -
setEc2TagSet
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. -
getEcsServices
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>. -
setEcsServices
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>. -
setEcsServices
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>. -
getLoadBalancerInfo
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 .
-
setLoadBalancerInfo
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 .
-
setLoadBalancerInfo
@Stability(Stable) public void setLoadBalancerInfo(@Nullable CfnDeploymentGroup.LoadBalancerInfoProperty value) 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 .
-
getOnPremisesInstanceTagFilters
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
OnPremisesInstanceTagFiltersorOnPremisesInstanceTagSet, but not both. -
setOnPremisesInstanceTagFilters
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
OnPremisesInstanceTagFiltersorOnPremisesInstanceTagSet, but not both. -
setOnPremisesInstanceTagFilters
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
OnPremisesInstanceTagFiltersorOnPremisesInstanceTagSet, but not both. -
getOnPremisesTagSet
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
OnPremisesInstanceTagFiltersorOnPremisesInstanceTagSet, but not both. -
setOnPremisesTagSet
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
OnPremisesInstanceTagFiltersorOnPremisesInstanceTagSet, but not both. -
setOnPremisesTagSet
@Stability(Stable) public void setOnPremisesTagSet(@Nullable CfnDeploymentGroup.OnPremisesTagSetProperty value) 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
OnPremisesInstanceTagFiltersorOnPremisesInstanceTagSet, but not both. -
getOutdatedInstancesStrategy
AWS::CodeDeploy::DeploymentGroup.OutdatedInstancesStrategy. -
setOutdatedInstancesStrategy
AWS::CodeDeploy::DeploymentGroup.OutdatedInstancesStrategy. -
getTriggerConfigurations
Information about triggers associated with the deployment group.Duplicates are not allowed
-
setTriggerConfigurations
Information about triggers associated with the deployment group.Duplicates are not allowed
-
setTriggerConfigurations
Information about triggers associated with the deployment group.Duplicates are not allowed
-