public static final class ICfnResourceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ICfnResourceOptions
software.amazon.jsii.JsiiObject.InitializationModeICfnResourceOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
CfnCondition |
getCondition()
A condition to associate with this resource.
|
CfnCreationPolicy |
getCreationPolicy()
Associate the CreationPolicy attribute with a resource to prevent its status from reaching create complete until AWS CloudFormation receives a specified number of success signals or the timeout period is exceeded.
|
CfnDeletionPolicy |
getDeletionPolicy()
With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.
|
Map<String,Object> |
getMetadata()
Metadata associated with the CloudFormation resource.
|
CfnUpdatePolicy |
getUpdatePolicy()
Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.
|
CfnDeletionPolicy |
getUpdateReplacePolicy()
Use the UpdateReplacePolicy attribute to retain or (in some cases) backup the existing physical instance of a resource when it is replaced during a stack update operation.
|
void |
setCondition(CfnCondition value)
A condition to associate with this resource.
|
void |
setCreationPolicy(CfnCreationPolicy value)
Associate the CreationPolicy attribute with a resource to prevent its status from reaching create complete until AWS CloudFormation receives a specified number of success signals or the timeout period is exceeded.
|
void |
setDeletionPolicy(CfnDeletionPolicy value)
With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.
|
void |
setMetadata(Map<String,Object> value)
Metadata associated with the CloudFormation resource.
|
void |
setUpdatePolicy(CfnUpdatePolicy value)
Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.
|
void |
setUpdateReplacePolicy(CfnDeletionPolicy value)
Use the UpdateReplacePolicy attribute to retain or (in some cases) backup the existing physical instance of a resource when it is replaced during a stack update operation.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSet@Stability(value=Stable) public CfnCondition getCondition()
This means that only if the condition evaluates to 'true' when the stack is deployed, the resource will be included. This is provided to allow CDK projects to produce legacy templates, but noramlly there is no need to use it in CDK projects.
getCondition in interface ICfnResourceOptions@Stability(value=Stable) public void setCondition(CfnCondition value)
This means that only if the condition evaluates to 'true' when the stack is deployed, the resource will be included. This is provided to allow CDK projects to produce legacy templates, but noramlly there is no need to use it in CDK projects.
setCondition in interface ICfnResourceOptions@Stability(value=Stable) public CfnCreationPolicy getCreationPolicy()
To signal a resource, you can use the cfn-signal helper script or SignalResource API. AWS CloudFormation publishes valid signals to the stack events so that you track the number of signals sent.
getCreationPolicy in interface ICfnResourceOptions@Stability(value=Stable) public void setCreationPolicy(CfnCreationPolicy value)
To signal a resource, you can use the cfn-signal helper script or SignalResource API. AWS CloudFormation publishes valid signals to the stack events so that you track the number of signals sent.
setCreationPolicy in interface ICfnResourceOptions@Stability(value=Stable) public CfnDeletionPolicy getDeletionPolicy()
getDeletionPolicy in interface ICfnResourceOptions@Stability(value=Stable) public void setDeletionPolicy(CfnDeletionPolicy value)
setDeletionPolicy in interface ICfnResourceOptions@Stability(value=Stable) public Map<String,Object> getMetadata()
This is not the same as the construct metadata which can be added using construct.addMetadata(), but would not appear in the CloudFormation template automatically.
getMetadata in interface ICfnResourceOptions@Stability(value=Stable) public void setMetadata(Map<String,Object> value)
This is not the same as the construct metadata which can be added using construct.addMetadata(), but would not appear in the CloudFormation template automatically.
setMetadata in interface ICfnResourceOptions@Stability(value=Stable) public CfnUpdatePolicy getUpdatePolicy()
AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group.
getUpdatePolicy in interface ICfnResourceOptions@Stability(value=Stable) public void setUpdatePolicy(CfnUpdatePolicy value)
AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group.
setUpdatePolicy in interface ICfnResourceOptions@Stability(value=Stable) public CfnDeletionPolicy getUpdateReplacePolicy()
getUpdateReplacePolicy in interface ICfnResourceOptions@Stability(value=Stable) public void setUpdateReplacePolicy(CfnDeletionPolicy value)
setUpdateReplacePolicy in interface ICfnResourceOptionsCopyright © 2019. All rights reserved.