Package org.cdk8s.plus24
Interface SecretProps
-
- All Superinterfaces:
CommonSecretProps
,software.amazon.jsii.JsiiSerializable
,ResourceProps
- All Known Implementing Classes:
SecretProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-16T03:33:03.831Z") @Stability(Stable) public interface SecretProps extends software.amazon.jsii.JsiiSerializable, CommonSecretProps
Options for `Secret`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SecretProps.Builder
A builder forSecretProps
static class
SecretProps.Jsii$Proxy
An implementation forSecretProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SecretProps.Builder
builder()
default Map<String,String>
getStringData()
stringData allows specifying non-binary secret data in string form.default String
getType()
Optional type associated with the secret.-
Methods inherited from interface org.cdk8s.plus24.CommonSecretProps
getImmutable
-
Methods inherited from interface org.cdk8s.plus24.ResourceProps
getMetadata
-
-
-
-
Method Detail
-
getStringData
@Stability(Stable) @Nullable default Map<String,String> getStringData()
stringData allows specifying non-binary secret data in string form.It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.
-
getType
@Stability(Stable) @Nullable default String getType()
Optional type associated with the secret.Used to facilitate programmatic handling of secret data by various controllers.
Default: undefined - Don't set a type.
-
builder
@Stability(Stable) static SecretProps.Builder builder()
- Returns:
- a
SecretProps.Builder
ofSecretProps
-
-