Skip to content

ISecret

  • Extends: com.aliyun.ros.cdk.core.IResource

  • Implemented By: com.aliyun.ros.cdk.kms.datasource.Secret, com.aliyun.ros.cdk.kms.datasource.ISecret

Represents a Secret.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrArn java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Arn: The Alibaba Cloud Resource Name (ARN) of the secret.
attrAutomaticRotation java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AutomaticRotation: Indicates whether automatic rotation is enabled.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The time when the secret was created.
attrDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Description: The description of the secret.
attrDkmsInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DKMSInstanceId: The ID of the dedicated KMS instance.
attrEncryptionKeyId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EncryptionKeyId: The ID of the customer master key (CMK) that is used to encrypt the secret value.
attrExtendedConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ExtendedConfig: The extended configuration of the secret.
attrLastRotationDate java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute LastRotationDate: The time when the last rotation was performed.
attrNextRotationDate java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NextRotationDate: The time when the next rotation will be performed.
attrPlannedDeleteTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PlannedDeleteTime: The time when the secret is scheduled to be deleted.
attrRotationInterval java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RotationInterval: The interval for automatic rotation.
attrSecretName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SecretName: The name of the secret.
attrSecretType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SecretType: The type of the secret.
attrUpdateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute UpdateTime: The time when the secret was updated.
props SecretProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrArnRequired

public java.lang.Object getAttrArn();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Arn: The Alibaba Cloud Resource Name (ARN) of the secret.


attrAutomaticRotationRequired

public java.lang.Object getAttrAutomaticRotation();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AutomaticRotation: Indicates whether automatic rotation is enabled.


attrCreateTimeRequired

public java.lang.Object getAttrCreateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: The time when the secret was created.


attrDescriptionRequired

public java.lang.Object getAttrDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Description: The description of the secret.


attrDkmsInstanceIdRequired

public java.lang.Object getAttrDkmsInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute DKMSInstanceId: The ID of the dedicated KMS instance.


attrEncryptionKeyIdRequired

public java.lang.Object getAttrEncryptionKeyId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute EncryptionKeyId: The ID of the customer master key (CMK) that is used to encrypt the secret value.


attrExtendedConfigRequired

public java.lang.Object getAttrExtendedConfig();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ExtendedConfig: The extended configuration of the secret.


attrLastRotationDateRequired

public java.lang.Object getAttrLastRotationDate();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute LastRotationDate: The time when the last rotation was performed.


attrNextRotationDateRequired

public java.lang.Object getAttrNextRotationDate();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute NextRotationDate: The time when the next rotation will be performed.


attrPlannedDeleteTimeRequired

public java.lang.Object getAttrPlannedDeleteTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PlannedDeleteTime: The time when the secret is scheduled to be deleted.


attrRotationIntervalRequired

public java.lang.Object getAttrRotationInterval();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RotationInterval: The interval for automatic rotation.

The value is in the integer[unit] format. integer indicates the length of time. unit: indicates the time unit. The value of unit is fixed as s. For example, if the value is 604800s, automatic rotation is performed at a 7-day interval.The value is in the integer[unit] format. integer indicates the length of time. unit: indicates the time unit. The value of unit is fixed as s. For example, if the value is 604800s, automatic rotation is performed at a 7-day interval.


attrSecretNameRequired

public java.lang.Object getAttrSecretName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SecretName: The name of the secret.


attrSecretTypeRequired

public java.lang.Object getAttrSecretType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SecretType: The type of the secret.


attrUpdateTimeRequired

public java.lang.Object getAttrUpdateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute UpdateTime: The time when the secret was updated.


propsRequired

public SecretProps getProps();