@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-10T18:02:03.110Z") @Stability(value=Stable) public class CfnDeploymentGroup extends CfnResource implements IInspectable
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()))
.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())
.triggerConfigurations(List.of(TriggerConfigProperty.builder()
.triggerEvents(List.of("triggerEvents"))
.triggerName("triggerName")
.triggerTargetArn("triggerTargetArn")
.build()))
.build();
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDeploymentGroup(Construct scope,
String id,
CfnDeploymentGroupProps props)
Create a new `AWS::CodeDeploy::DeploymentGroup`.
|
protected |
CfnDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAlarmConfiguration()
`AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration`.
|
String |
getApplicationName()
`AWS::CodeDeploy::DeploymentGroup.ApplicationName`.
|
Object |
getAutoRollbackConfiguration()
`AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration`.
|
List<String> |
getAutoScalingGroups()
`AWS::CodeDeploy::DeploymentGroup.AutoScalingGroups`.
|
Object |
getBlueGreenDeploymentConfiguration()
`AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDeployment()
`AWS::CodeDeploy::DeploymentGroup.Deployment`.
|
String |
getDeploymentConfigName()
`AWS::CodeDeploy::DeploymentGroup.DeploymentConfigName`.
|
String |
getDeploymentGroupName()
`AWS::CodeDeploy::DeploymentGroup.DeploymentGroupName`.
|
Object |
getDeploymentStyle()
`AWS::CodeDeploy::DeploymentGroup.DeploymentStyle`.
|
Object |
getEc2TagFilters()
`AWS::CodeDeploy::DeploymentGroup.Ec2TagFilters`.
|
Object |
getEc2TagSet()
`AWS::CodeDeploy::DeploymentGroup.Ec2TagSet`.
|
Object |
getEcsServices()
`AWS::CodeDeploy::DeploymentGroup.ECSServices`.
|
Object |
getLoadBalancerInfo()
`AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo`.
|
Object |
getOnPremisesInstanceTagFilters()
`AWS::CodeDeploy::DeploymentGroup.OnPremisesInstanceTagFilters`.
|
Object |
getOnPremisesTagSet()
`AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet`.
|
String |
getServiceRoleArn()
`AWS::CodeDeploy::DeploymentGroup.ServiceRoleArn`.
|
Object |
getTriggerConfigurations()
`AWS::CodeDeploy::DeploymentGroup.TriggerConfigurations`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAlarmConfiguration(CfnDeploymentGroup.AlarmConfigurationProperty value)
`AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration`.
|
void |
setAlarmConfiguration(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration`.
|
void |
setApplicationName(String value)
`AWS::CodeDeploy::DeploymentGroup.ApplicationName`.
|
void |
setAutoRollbackConfiguration(CfnDeploymentGroup.AutoRollbackConfigurationProperty value)
`AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration`.
|
void |
setAutoRollbackConfiguration(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration`.
|
void |
setAutoScalingGroups(List<String> value)
`AWS::CodeDeploy::DeploymentGroup.AutoScalingGroups`.
|
void |
setBlueGreenDeploymentConfiguration(CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty value)
`AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration`.
|
void |
setBlueGreenDeploymentConfiguration(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration`.
|
void |
setDeployment(CfnDeploymentGroup.DeploymentProperty value)
`AWS::CodeDeploy::DeploymentGroup.Deployment`.
|
void |
setDeployment(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.Deployment`.
|
void |
setDeploymentConfigName(String value)
`AWS::CodeDeploy::DeploymentGroup.DeploymentConfigName`.
|
void |
setDeploymentGroupName(String value)
`AWS::CodeDeploy::DeploymentGroup.DeploymentGroupName`.
|
void |
setDeploymentStyle(CfnDeploymentGroup.DeploymentStyleProperty value)
`AWS::CodeDeploy::DeploymentGroup.DeploymentStyle`.
|
void |
setDeploymentStyle(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.DeploymentStyle`.
|
void |
setEc2TagFilters(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.Ec2TagFilters`.
|
void |
setEc2TagFilters(List<Object> value)
`AWS::CodeDeploy::DeploymentGroup.Ec2TagFilters`.
|
void |
setEc2TagSet(CfnDeploymentGroup.EC2TagSetProperty value)
`AWS::CodeDeploy::DeploymentGroup.Ec2TagSet`.
|
void |
setEc2TagSet(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.Ec2TagSet`.
|
void |
setEcsServices(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.ECSServices`.
|
void |
setEcsServices(List<Object> value)
`AWS::CodeDeploy::DeploymentGroup.ECSServices`.
|
void |
setLoadBalancerInfo(CfnDeploymentGroup.LoadBalancerInfoProperty value)
`AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo`.
|
void |
setLoadBalancerInfo(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo`.
|
void |
setOnPremisesInstanceTagFilters(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.OnPremisesInstanceTagFilters`.
|
void |
setOnPremisesInstanceTagFilters(List<Object> value)
`AWS::CodeDeploy::DeploymentGroup.OnPremisesInstanceTagFilters`.
|
void |
setOnPremisesTagSet(CfnDeploymentGroup.OnPremisesTagSetProperty value)
`AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet`.
|
void |
setOnPremisesTagSet(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet`.
|
void |
setServiceRoleArn(String value)
`AWS::CodeDeploy::DeploymentGroup.ServiceRoleArn`.
|
void |
setTriggerConfigurations(IResolvable value)
`AWS::CodeDeploy::DeploymentGroup.TriggerConfigurations`.
|
void |
setTriggerConfigurations(List<Object> value)
`AWS::CodeDeploy::DeploymentGroup.TriggerConfigurations`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDeploymentGroup(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnDeploymentGroupProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @Nullable public Object getAlarmConfiguration()
@Stability(value=Stable)
public void setAlarmConfiguration(@Nullable
CfnDeploymentGroup.AlarmConfigurationProperty value)
@Stability(value=Stable)
public void setAlarmConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public String getApplicationName()
@Stability(value=Stable)
public void setApplicationName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getAutoRollbackConfiguration()
@Stability(value=Stable)
public void setAutoRollbackConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setAutoRollbackConfiguration(@Nullable
CfnDeploymentGroup.AutoRollbackConfigurationProperty value)
@Stability(value=Stable) @Nullable public List<String> getAutoScalingGroups()
@Stability(value=Stable)
public void setAutoScalingGroups(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Object getBlueGreenDeploymentConfiguration()
@Stability(value=Stable)
public void setBlueGreenDeploymentConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setBlueGreenDeploymentConfiguration(@Nullable
CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public Object getDeployment()
@Stability(value=Stable)
public void setDeployment(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setDeployment(@Nullable
CfnDeploymentGroup.DeploymentProperty value)
@Stability(value=Stable) @Nullable public String getDeploymentConfigName()
@Stability(value=Stable)
public void setDeploymentConfigName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDeploymentGroupName()
@Stability(value=Stable)
public void setDeploymentGroupName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getDeploymentStyle()
@Stability(value=Stable)
public void setDeploymentStyle(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setDeploymentStyle(@Nullable
CfnDeploymentGroup.DeploymentStyleProperty value)
@Stability(value=Stable) @Nullable public Object getEc2TagFilters()
@Stability(value=Stable)
public void setEc2TagFilters(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setEc2TagFilters(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getEc2TagSet()
@Stability(value=Stable)
public void setEc2TagSet(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setEc2TagSet(@Nullable
CfnDeploymentGroup.EC2TagSetProperty value)
@Stability(value=Stable) @Nullable public Object getEcsServices()
@Stability(value=Stable)
public void setEcsServices(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setEcsServices(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getLoadBalancerInfo()
@Stability(value=Stable)
public void setLoadBalancerInfo(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setLoadBalancerInfo(@Nullable
CfnDeploymentGroup.LoadBalancerInfoProperty value)
@Stability(value=Stable) @Nullable public Object getOnPremisesInstanceTagFilters()
@Stability(value=Stable)
public void setOnPremisesInstanceTagFilters(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setOnPremisesInstanceTagFilters(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getOnPremisesTagSet()
@Stability(value=Stable)
public void setOnPremisesTagSet(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setOnPremisesTagSet(@Nullable
CfnDeploymentGroup.OnPremisesTagSetProperty value)
@Stability(value=Stable) @NotNull public String getServiceRoleArn()
@Stability(value=Stable)
public void setServiceRoleArn(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getTriggerConfigurations()
@Stability(value=Stable)
public void setTriggerConfigurations(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.