Class CfnTieringConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITieringConfigurationRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-03T13:58:16.890Z") @Stability(Stable) public class CfnTieringConfiguration extends CfnResource implements IInspectable, ITieringConfigurationRef, ITaggableV2
Resource Type definition for AWS::Backup::TieringConfiguration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.backup.*;
 CfnTieringConfiguration cfnTieringConfiguration = CfnTieringConfiguration.Builder.create(this, "MyCfnTieringConfiguration")
         .backupVaultName("backupVaultName")
         .resourceSelection(List.of(ResourceSelectionProperty.builder()
                 .resources(List.of("resources"))
                 .resourceType("resourceType")
                 .tieringDownSettingsInDays(123)
                 .build()))
         .tieringConfigurationName("tieringConfigurationName")
         // the properties below are optional
         .tieringConfigurationTags(Map.of(
                 "tieringConfigurationTagsKey", "tieringConfigurationTags"))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnTieringConfiguration

      protected CfnTieringConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnTieringConfiguration

      protected CfnTieringConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnTieringConfiguration

      @Stability(Stable) public CfnTieringConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTieringConfigurationProps props)
      Create a new AWS::Backup::TieringConfiguration.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForTieringConfiguration

      @Stability(Stable) @NotNull public static String arnForTieringConfiguration(@NotNull ITieringConfigurationRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnTieringConfiguration

      @Stability(Stable) @NotNull public static Boolean isCfnTieringConfiguration(@NotNull Object x)
      Checks whether the given object is a CfnTieringConfiguration.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreationTime

      @Stability(Stable) @NotNull public String getAttrCreationTime()
    • getAttrLastUpdatedTime

      @Stability(Stable) @NotNull public String getAttrLastUpdatedTime()
    • getAttrTieringConfigurationArn

      @Stability(Stable) @NotNull public String getAttrTieringConfigurationArn()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTieringConfigurationRef

      @Stability(Stable) @NotNull public TieringConfigurationReference getTieringConfigurationRef()
      A reference to a TieringConfiguration resource.
      Specified by:
      getTieringConfigurationRef in interface ITieringConfigurationRef
    • getBackupVaultName

      @Stability(Stable) @NotNull public String getBackupVaultName()
    • setBackupVaultName

      @Stability(Stable) public void setBackupVaultName(@NotNull String value)
    • getResourceSelection

      @Stability(Stable) @NotNull public Object getResourceSelection()
      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnTieringConfiguration.ResourceSelectionProperty>
    • setResourceSelection

      @Stability(Stable) public void setResourceSelection(@NotNull IResolvable value)
    • setResourceSelection

      @Stability(Stable) public void setResourceSelection(@NotNull List<Object> value)
    • getTieringConfigurationName

      @Stability(Stable) @NotNull public String getTieringConfigurationName()
    • setTieringConfigurationName

      @Stability(Stable) public void setTieringConfigurationName(@NotNull String value)
    • getTieringConfigurationTags

      @Stability(Stable) @Nullable public Map<String,String> getTieringConfigurationTags()
    • setTieringConfigurationTags

      @Stability(Stable) public void setTieringConfigurationTags(@Nullable Map<String,String> value)