Secret
This class encapsulates and extends the ROS resource type DATASOURCE::KMS::Secret
.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Kms;
new Secret(Construct Scope, string Id, SecretProps Props, bool EnableResourcePropertyConstraint = null);
Name | Type | Description |
---|---|---|
Scope |
AlibabaCloud.SDK.ROS.CDK.Core.Construct |
No description. |
Id |
string |
No description. |
Props |
SecretProps |
No description. |
EnableResourcePropertyConstraint |
bool |
No description. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: SecretProps
EnableResourcePropertyConstraint
Optional
- Type: bool
Methods
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
Synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition |
No description. |
AddCount |
No description. |
AddDependency |
No description. |
AddResourceDesc |
No description. |
ApplyRemovalPolicy |
No description. |
GetAtt |
No description. |
SetMetadata |
No description. |
ToString
private string ToString()
Returns a string representation of this construct.
Synthesize
private void Synthesize(ISynthesisSession Session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Kms;
Secret.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
Name | Type | Description |
---|---|---|
Node |
AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode |
The construct tree node associated with this construct. |
Ref |
string |
No description. |
Stack |
AlibabaCloud.SDK.ROS.CDK.Core.Stack |
The stack in which this resource is defined. |
Resource |
AlibabaCloud.SDK.ROS.CDK.Core.RosResource |
No description. |
AttrArn |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Arn: The Alibaba Cloud Resource Name (ARN) of the secret. |
AttrAutomaticRotation |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AutomaticRotation: Indicates whether automatic rotation is enabled. |
AttrCreateTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute CreateTime: The time when the secret was created. |
AttrDescription |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Description: The description of the secret. |
AttrDkmsInstanceId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DKMSInstanceId: The ID of the dedicated KMS instance. |
AttrEncryptionKeyId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EncryptionKeyId: The ID of the customer master key (CMK) that is used to encrypt the secret value. |
AttrExtendedConfig |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ExtendedConfig: The extended configuration of the secret. |
AttrLastRotationDate |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LastRotationDate: The time when the last rotation was performed. |
AttrNextRotationDate |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute NextRotationDate: The time when the next rotation will be performed. |
AttrPlannedDeleteTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PlannedDeleteTime: The time when the secret is scheduled to be deleted. |
AttrRotationInterval |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute RotationInterval: The interval for automatic rotation. |
AttrSecretName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SecretName: The name of the secret. |
AttrSecretType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SecretType: The type of the secret. |
AttrUpdateTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute UpdateTime: The time when the secret was updated. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrArn
Required
public IResolvable AttrArn { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Arn: The Alibaba Cloud Resource Name (ARN) of the secret.
AttrAutomaticRotation
Required
public IResolvable AttrAutomaticRotation { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AutomaticRotation: Indicates whether automatic rotation is enabled.
AttrCreateTime
Required
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: The time when the secret was created.
AttrDescription
Required
public IResolvable AttrDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Description: The description of the secret.
AttrDkmsInstanceId
Required
public IResolvable AttrDkmsInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DKMSInstanceId: The ID of the dedicated KMS instance.
AttrEncryptionKeyId
Required
public IResolvable AttrEncryptionKeyId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EncryptionKeyId: The ID of the customer master key (CMK) that is used to encrypt the secret value.
AttrExtendedConfig
Required
public IResolvable AttrExtendedConfig { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ExtendedConfig: The extended configuration of the secret.
AttrLastRotationDate
Required
public IResolvable AttrLastRotationDate { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LastRotationDate: The time when the last rotation was performed.
AttrNextRotationDate
Required
public IResolvable AttrNextRotationDate { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NextRotationDate: The time when the next rotation will be performed.
AttrPlannedDeleteTime
Required
public IResolvable AttrPlannedDeleteTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PlannedDeleteTime: The time when the secret is scheduled to be deleted.
AttrRotationInterval
Required
public IResolvable AttrRotationInterval { get; }
- Type: AlibabaCloud.SDK.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.
AttrSecretName
Required
public IResolvable AttrSecretName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecretName: The name of the secret.
AttrSecretType
Required
public IResolvable AttrSecretType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SecretType: The type of the secret.
AttrUpdateTime
Required
public IResolvable AttrUpdateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute UpdateTime: The time when the secret was updated.