Skip to content

SecretParameterProps

Properties for defining a SecretParameter.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-secretparameter

Initializer

import { SecretParameterProps } from '@alicloud/ros-cdk-oos'
const secretParameterProps: SecretParameterProps = { ... }

Properties

Name Type Description
secretParameterName string | @alicloud/ros-cdk-core.IResolvable Property secretParameterName: The name of the encryption parameter.
value string | @alicloud/ros-cdk-core.IResolvable Property value: The value of the encryption parameter.
constraints @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property constraints: The constraints of the encryption parameter.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the encryption parameter.
keyId string | @alicloud/ros-cdk-core.IResolvable Property keyId: The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of resource group.
tags TagsProperty[] Property tags: Tags of encryption parameter.

secretParameterNameRequired

public readonly secretParameterName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property secretParameterName: The name of the encryption parameter.

The name must be 1 to 180 characters in length, and can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.


valueRequired

public readonly value: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property value: The value of the encryption parameter.

The value must be 1 to 4096 characters in length.


constraintsOptional

public readonly constraints: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property constraints: The constraints of the encryption parameter.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the encryption parameter.

The description must be 1 to 200 characters in length.


keyIdOptional

public readonly keyId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property keyId: The Customer Master Key (CMK) of Key Management Service (KMS) that is used to encrypt the parameter.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of resource group.


tagsOptional

public readonly tags: TagsProperty[];

Property tags: Tags of encryption parameter.