SecretProps
Properties for defining a Secret
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-kms-secret
Initializer
import com.aliyun.ros.cdk.kms.datasource.SecretProps;
SecretProps.builder()
.secretName(java.lang.String)
.secretName(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
secretName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property secretName: The name of the secret. |
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
secretName
Required
public java.lang.Object getSecretName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property secretName: The name of the secret.
refreshOptions
Optional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.