Skip to content

ISecret

  • Extends: ros_cdk_core.IResource

  • Implemented By: ros_cdk_kms.datasource.Secret, ros_cdk_kms.datasource.ISecret

Represents a Secret.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_arn typing.Union[str, ros_cdk_core.IResolvable] Attribute Arn: The Alibaba Cloud Resource Name (ARN) of the secret.
attr_automatic_rotation typing.Union[str, ros_cdk_core.IResolvable] Attribute AutomaticRotation: Indicates whether automatic rotation is enabled.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The time when the secret was created.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: The description of the secret.
attr_dkms_instance_id typing.Union[str, ros_cdk_core.IResolvable] Attribute DKMSInstanceId: The ID of the dedicated KMS instance.
attr_encryption_key_id typing.Union[str, ros_cdk_core.IResolvable] Attribute EncryptionKeyId: The ID of the customer master key (CMK) that is used to encrypt the secret value.
attr_extended_config typing.Union[str, ros_cdk_core.IResolvable] Attribute ExtendedConfig: The extended configuration of the secret.
attr_last_rotation_date typing.Union[str, ros_cdk_core.IResolvable] Attribute LastRotationDate: The time when the last rotation was performed.
attr_next_rotation_date typing.Union[str, ros_cdk_core.IResolvable] Attribute NextRotationDate: The time when the next rotation will be performed.
attr_planned_delete_time typing.Union[str, ros_cdk_core.IResolvable] Attribute PlannedDeleteTime: The time when the secret is scheduled to be deleted.
attr_rotation_interval typing.Union[str, ros_cdk_core.IResolvable] Attribute RotationInterval: The interval for automatic rotation.
attr_secret_name typing.Union[str, ros_cdk_core.IResolvable] Attribute SecretName: The name of the secret.
attr_secret_type typing.Union[str, ros_cdk_core.IResolvable] Attribute SecretType: The type of the secret.
attr_update_time typing.Union[str, ros_cdk_core.IResolvable] Attribute UpdateTime: The time when the secret was updated.
props SecretProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: 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

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_arnRequired

attr_arn: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_automatic_rotationRequired

attr_automatic_rotation: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute AutomaticRotation: Indicates whether automatic rotation is enabled.


attr_create_timeRequired

attr_create_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute CreateTime: The time when the secret was created.


attr_descriptionRequired

attr_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Description: The description of the secret.


attr_dkms_instance_idRequired

attr_dkms_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute DKMSInstanceId: The ID of the dedicated KMS instance.


attr_encryption_key_idRequired

attr_encryption_key_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_extended_configRequired

attr_extended_config: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ExtendedConfig: The extended configuration of the secret.


attr_last_rotation_dateRequired

attr_last_rotation_date: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_next_rotation_dateRequired

attr_next_rotation_date: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_planned_delete_timeRequired

attr_planned_delete_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_rotation_intervalRequired

attr_rotation_interval: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


attr_secret_nameRequired

attr_secret_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute SecretName: The name of the secret.


attr_secret_typeRequired

attr_secret_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute SecretType: The type of the secret.


attr_update_timeRequired

attr_update_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute UpdateTime: The time when the secret was updated.


propsRequired

props: SecretProps