Class DbSnapshot

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-30T04:56:52.526Z")
    @Stability(Stable)
    public class DbSnapshot
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_snapshot aws_db_snapshot}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • DbSnapshot

        protected DbSnapshot​(software.amazon.jsii.JsiiObjectRef objRef)
      • DbSnapshot

        protected DbSnapshot​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • DbSnapshot

        @Stability(Stable)
        public DbSnapshot​(@NotNull
                          software.constructs.Construct scope,
                          @NotNull
                          String id,
                          @NotNull
                          DbSnapshotConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_snapshot aws_db_snapshot} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                DbSnapshotTimeouts value)
        Parameters:
        value - This parameter is required.
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetSharedAccounts

        @Stability(Stable)
        public void resetSharedAccounts()
      • resetTags

        @Stability(Stable)
        public void resetTags()
      • resetTagsAll

        @Stability(Stable)
        public void resetTagsAll()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • getAllocatedStorage

        @Stability(Stable)
        @NotNull
        public Number getAllocatedStorage()
      • getAvailabilityZone

        @Stability(Stable)
        @NotNull
        public String getAvailabilityZone()
      • getDbSnapshotArn

        @Stability(Stable)
        @NotNull
        public String getDbSnapshotArn()
      • getEncrypted

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.IResolvable getEncrypted()
      • getEngine

        @Stability(Stable)
        @NotNull
        public String getEngine()
      • getEngineVersion

        @Stability(Stable)
        @NotNull
        public String getEngineVersion()
      • getIops

        @Stability(Stable)
        @NotNull
        public Number getIops()
      • getKmsKeyId

        @Stability(Stable)
        @NotNull
        public String getKmsKeyId()
      • getLicenseModel

        @Stability(Stable)
        @NotNull
        public String getLicenseModel()
      • getOptionGroupName

        @Stability(Stable)
        @NotNull
        public String getOptionGroupName()
      • getPort

        @Stability(Stable)
        @NotNull
        public Number getPort()
      • getSnapshotType

        @Stability(Stable)
        @NotNull
        public String getSnapshotType()
      • getSourceDbSnapshotIdentifier

        @Stability(Stable)
        @NotNull
        public String getSourceDbSnapshotIdentifier()
      • getSourceRegion

        @Stability(Stable)
        @NotNull
        public String getSourceRegion()
      • getStatus

        @Stability(Stable)
        @NotNull
        public String getStatus()
      • getStorageType

        @Stability(Stable)
        @NotNull
        public String getStorageType()
      • getVpcId

        @Stability(Stable)
        @NotNull
        public String getVpcId()
      • getDbInstanceIdentifierInput

        @Stability(Stable)
        @Nullable
        public String getDbInstanceIdentifierInput()
      • getDbSnapshotIdentifierInput

        @Stability(Stable)
        @Nullable
        public String getDbSnapshotIdentifierInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getSharedAccountsInput

        @Stability(Stable)
        @Nullable
        public List<String> getSharedAccountsInput()
      • getTagsAllInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getTagsAllInput()
      • getTagsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getTagsInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getDbInstanceIdentifier

        @Stability(Stable)
        @NotNull
        public String getDbInstanceIdentifier()
      • setDbInstanceIdentifier

        @Stability(Stable)
        public void setDbInstanceIdentifier​(@NotNull
                                            String value)
      • getDbSnapshotIdentifier

        @Stability(Stable)
        @NotNull
        public String getDbSnapshotIdentifier()
      • setDbSnapshotIdentifier

        @Stability(Stable)
        public void setDbSnapshotIdentifier​(@NotNull
                                            String value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getSharedAccounts

        @Stability(Stable)
        @NotNull
        public List<String> getSharedAccounts()
      • setSharedAccounts

        @Stability(Stable)
        public void setSharedAccounts​(@NotNull
                                      List<String> value)
      • getTags

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTags()
      • setTags

        @Stability(Stable)
        public void setTags​(@NotNull
                            Map<String,​String> value)
      • getTagsAll

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTagsAll()
      • setTagsAll

        @Stability(Stable)
        public void setTagsAll​(@NotNull
                               Map<String,​String> value)