Interface ICfnResourceOptions.Jsii$Default

All Superinterfaces:
ICfnResourceOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ICfnResourceOptions.Jsii$Proxy
Enclosing interface:
ICfnResourceOptions

@Internal public static interface ICfnResourceOptions.Jsii$Default extends ICfnResourceOptions
Internal default implementation for ICfnResourceOptions.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface software.amazon.awscdk.core.ICfnResourceOptions

    ICfnResourceOptions.Jsii$Default, ICfnResourceOptions.Jsii$Proxy
  • Method Summary

    Modifier and Type
    Method
    Description
    default CfnCondition
    A condition to associate with this resource.
    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.
    With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.
    default String
    The description of this resource.
    default Map<String,Object>
    Metadata associated with the CloudFormation resource.
    Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.
    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
    The version of this resource.
    default void
    A condition to associate with this resource.
    default void
    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
    With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.
    default void
    The description of this resource.
    default void
    Metadata associated with the CloudFormation resource.
    default void
    Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.
    default void
    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
    The version of this resource.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getCondition

      @Stability(Stable) @Nullable default CfnCondition getCondition()
      A condition to associate with this resource.

      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.

      Specified by:
      getCondition in interface ICfnResourceOptions
    • setCondition

      @Stability(Stable) default void setCondition(@Nullable CfnCondition value)
      A condition to associate with this resource.

      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.

      Specified by:
      setCondition in interface ICfnResourceOptions
    • getCreationPolicy

      @Stability(Stable) @Nullable default 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.

      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.

      Specified by:
      getCreationPolicy in interface ICfnResourceOptions
    • setCreationPolicy

      @Stability(Stable) default void setCreationPolicy(@Nullable 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.

      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.

      Specified by:
      setCreationPolicy in interface ICfnResourceOptions
    • getDeletionPolicy

      @Stability(Stable) @Nullable default CfnDeletionPolicy getDeletionPolicy()
      With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.

      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.

      Specified by:
      getDeletionPolicy in interface ICfnResourceOptions
    • setDeletionPolicy

      @Stability(Stable) default void setDeletionPolicy(@Nullable CfnDeletionPolicy value)
      With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted.

      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.

      Specified by:
      setDeletionPolicy in interface ICfnResourceOptions
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of this resource.

      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).

      Specified by:
      getDescription in interface ICfnResourceOptions
    • setDescription

      @Stability(Stable) default void setDescription(@Nullable String value)
      The description of this resource.

      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).

      Specified by:
      setDescription in interface ICfnResourceOptions
    • getMetadata

      @Stability(Stable) @Nullable default Map<String,Object> getMetadata()
      Metadata associated with the CloudFormation resource.

      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.

      Specified by:
      getMetadata in interface ICfnResourceOptions
    • setMetadata

      @Stability(Stable) default void setMetadata(@Nullable Map<String,Object> value)
      Metadata associated with the CloudFormation resource.

      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.

      Specified by:
      setMetadata in interface ICfnResourceOptions
    • getUpdatePolicy

      @Stability(Stable) @Nullable default CfnUpdatePolicy getUpdatePolicy()
      Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.

      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.

      Specified by:
      getUpdatePolicy in interface ICfnResourceOptions
    • setUpdatePolicy

      @Stability(Stable) default void setUpdatePolicy(@Nullable CfnUpdatePolicy value)
      Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource.

      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.

      Specified by:
      setUpdatePolicy in interface ICfnResourceOptions
    • getUpdateReplacePolicy

      @Stability(Stable) @Nullable default 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.
      Specified by:
      getUpdateReplacePolicy in interface ICfnResourceOptions
    • setUpdateReplacePolicy

      @Stability(Stable) default void setUpdateReplacePolicy(@Nullable 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.
      Specified by:
      setUpdateReplacePolicy in interface ICfnResourceOptions
    • getVersion

      @Stability(Stable) @Nullable default String getVersion()
      The version of this resource.

      Used only for custom CloudFormation resources.

      Specified by:
      getVersion in interface ICfnResourceOptions
      See Also:
    • setVersion

      @Stability(Stable) default void setVersion(@Nullable String value)
      The version of this resource.

      Used only for custom CloudFormation resources.

      Specified by:
      setVersion in interface ICfnResourceOptions
      See Also: