@Internal public static final class ICfnResourceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ICfnResourceOptions.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationMode
ICfnResourceOptions.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()
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.
|
String |
getDescription()
The description of this resource.
|
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.
|
String |
getVersion()
The version of this resource.
|
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 |
setDescription(String value)
The description of this resource.
|
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.
|
void |
setVersion(String value)
The version of this resource.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
@Stability(value=Stable) @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 ICfnResourceOptions
getCondition
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) 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 ICfnResourceOptions
setCondition
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) @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 ICfnResourceOptions
getCreationPolicy
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) 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 ICfnResourceOptions
setCreationPolicy
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) @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 ICfnResourceOptions
getDeletionPolicy
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) 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 ICfnResourceOptions
setDeletionPolicy
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) @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 ICfnResourceOptions
getDescription
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) 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 ICfnResourceOptions
setDescription
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) @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 ICfnResourceOptions
getMetadata
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) 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 ICfnResourceOptions
setMetadata
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) @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 ICfnResourceOptions
getUpdatePolicy
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) 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 ICfnResourceOptions
setUpdatePolicy
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) @Nullable public final CfnDeletionPolicy getUpdateReplacePolicy()
getUpdateReplacePolicy
in interface ICfnResourceOptions
getUpdateReplacePolicy
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) public final void setUpdateReplacePolicy(@Nullable CfnDeletionPolicy value)
setUpdateReplacePolicy
in interface ICfnResourceOptions
setUpdateReplacePolicy
in interface ICfnResourceOptions.Jsii$Default
@Stability(value=Stable) @Nullable public final String getVersion()
Used only for custom CloudFormation resources.
getVersion
in interface ICfnResourceOptions
getVersion
in interface ICfnResourceOptions.Jsii$Default
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html
@Stability(value=Stable) public final void setVersion(@Nullable String value)
Used only for custom CloudFormation resources.
setVersion
in interface ICfnResourceOptions
setVersion
in interface ICfnResourceOptions.Jsii$Default
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html
Copyright © 2022. All rights reserved.