@Internal public static final class ICfnResourceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ICfnResourceOptions.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeICfnResourceOptions.Jsii$Default, ICfnResourceOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
CfnCondition |
getCondition()
(experimental) A condition to associate with this resource.
|
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.
|
CfnDeletionPolicy |
getDeletionPolicy()
(experimental) With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.
|
String |
getDescription()
(experimental) The description of this resource.
|
Map<String,Object> |
getMetadata()
(experimental) Metadata associated with the CloudFormation resource.
|
CfnUpdatePolicy |
getUpdatePolicy()
(experimental) Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.
|
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.
|
String |
getVersion()
(experimental) The version of this resource.
|
void |
setCondition(CfnCondition value)
(experimental) A condition to associate with this resource.
|
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.
|
void |
setDeletionPolicy(CfnDeletionPolicy value)
(experimental) With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.
|
void |
setDescription(String value)
(experimental) The description of this resource.
|
void |
setMetadata(Map<String,Object> value)
(experimental) Metadata associated with the CloudFormation resource.
|
void |
setUpdatePolicy(CfnUpdatePolicy value)
(experimental) Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.
|
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.
|
void |
setVersion(String value)
(experimental) The version of this resource.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) @Nullable public final 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 ICfnResourceOptionsgetCondition in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental)
public final 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 ICfnResourceOptionssetCondition in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental) @Nullable public final 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 ICfnResourceOptionsgetCreationPolicy in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental)
public final 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 ICfnResourceOptionssetCreationPolicy in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental) @Nullable public final 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 ICfnResourceOptionsgetDeletionPolicy in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental)
public final 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 ICfnResourceOptionssetDeletionPolicy in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental) @Nullable public final 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 ICfnResourceOptionsgetDescription in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental)
public final 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 ICfnResourceOptionssetDescription in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental) @Nullable public final 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 ICfnResourceOptionsgetMetadata in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental)
public final 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 ICfnResourceOptionssetMetadata in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental) @Nullable public final 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 ICfnResourceOptionsgetUpdatePolicy in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental)
public final 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 ICfnResourceOptionssetUpdatePolicy in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental) @Nullable public final CfnDeletionPolicy getUpdateReplacePolicy()
getUpdateReplacePolicy in interface ICfnResourceOptionsgetUpdateReplacePolicy in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental)
public final void setUpdateReplacePolicy(@Nullable
CfnDeletionPolicy value)
setUpdateReplacePolicy in interface ICfnResourceOptionssetUpdateReplacePolicy in interface ICfnResourceOptions.Jsii$Default@Stability(value=Experimental) @Nullable public final String getVersion()
Used only for custom CloudFormation resources.
getVersion in interface ICfnResourceOptionsgetVersion in interface ICfnResourceOptions.Jsii$Defaulthttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html@Stability(value=Experimental)
public final void setVersion(@Nullable
String value)
Used only for custom CloudFormation resources.
setVersion in interface ICfnResourceOptionssetVersion in interface ICfnResourceOptions.Jsii$Defaulthttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.htmlCopyright © 2021. All rights reserved.