@Internal public static interface ICfnResourceOptions.Jsii$Default extends ICfnResourceOptions
ICfnResourceOptions.ICfnResourceOptions.Jsii$Default, ICfnResourceOptions.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default CfnCondition |
getCondition()
(experimental) A condition to associate with this resource.
|
default CfnCreationPolicy |
getCreationPolicy()
(experimental) 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.
|
default CfnDeletionPolicy |
getDeletionPolicy()
(experimental) With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.
|
default String |
getDescription()
(experimental) The description of this resource.
|
default Map<String,Object> |
getMetadata()
(experimental) Metadata associated with the CloudFormation resource.
|
default CfnUpdatePolicy |
getUpdatePolicy()
(experimental) Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.
|
default CfnDeletionPolicy |
getUpdateReplacePolicy()
(experimental) 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.
|
default String |
getVersion()
(experimental) The version of this resource.
|
default void |
setCondition(CfnCondition value)
(experimental) A condition to associate with this resource.
|
default void |
setCreationPolicy(CfnCreationPolicy value)
(experimental) 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.
|
default void |
setDeletionPolicy(CfnDeletionPolicy value)
(experimental) With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.
|
default void |
setDescription(String value)
(experimental) The description of this resource.
|
default void |
setMetadata(Map<String,Object> value)
(experimental) Metadata associated with the CloudFormation resource.
|
default void |
setUpdatePolicy(CfnUpdatePolicy value)
(experimental) Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.
|
default void |
setUpdateReplacePolicy(CfnDeletionPolicy value)
(experimental) 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.
|
default void |
setVersion(String value)
(experimental) The version of this resource.
|
@Stability(value=Experimental) @Nullable default 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=Experimental)
default void setCondition(@Nullable
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=Experimental) @Nullable default 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=Experimental)
default void setCreationPolicy(@Nullable
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=Experimental) @Nullable default CfnDeletionPolicy getDeletionPolicy()
You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default. Note that this capability also applies to update operations that lead to resources being removed.
getDeletionPolicy in interface ICfnResourceOptions@Stability(value=Experimental)
default void setDeletionPolicy(@Nullable
CfnDeletionPolicy value)
You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default. Note that this capability also applies to update operations that lead to resources being removed.
setDeletionPolicy in interface ICfnResourceOptions@Stability(value=Experimental) @Nullable default String getDescription()
Used for informational purposes only, is not processed in any way (and stays with the CloudFormation template, is not passed to the underlying resource, even if it does have a 'description' property).
getDescription in interface ICfnResourceOptions@Stability(value=Experimental)
default void setDescription(@Nullable
String value)
Used for informational purposes only, is not processed in any way (and stays with the CloudFormation template, is not passed to the underlying resource, even if it does have a 'description' property).
setDescription in interface ICfnResourceOptions@Stability(value=Experimental) @Nullable default 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=Experimental)
default void setMetadata(@Nullable
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=Experimental) @Nullable default 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=Experimental)
default void setUpdatePolicy(@Nullable
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=Experimental) @Nullable default CfnDeletionPolicy getUpdateReplacePolicy()
getUpdateReplacePolicy in interface ICfnResourceOptions@Stability(value=Experimental)
default void setUpdateReplacePolicy(@Nullable
CfnDeletionPolicy value)
setUpdateReplacePolicy in interface ICfnResourceOptions@Stability(value=Experimental) @Nullable default String getVersion()
Used only for custom CloudFormation resources.
getVersion in interface ICfnResourceOptionshttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html@Stability(value=Experimental)
default void setVersion(@Nullable
String value)
Used only for custom CloudFormation resources.
setVersion in interface ICfnResourceOptionshttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.htmlCopyright © 2021. All rights reserved.