Package org.cdk8s.plus20
Interface SecretProps
-
- All Superinterfaces:
CommonSecretProps,software.amazon.jsii.JsiiSerializable,ResourceProps
- All Known Implementing Classes:
SecretProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.59.0 (build eb02c92)", date="2022-05-18T23:19:48.656Z") @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 classSecretProps.BuilderA builder forSecretPropsstatic classSecretProps.Jsii$ProxyAn implementation forSecretProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SecretProps.Builderbuilder()default Map<String,String>getStringData()stringData allows specifying non-binary secret data in string form.default StringgetType()Optional type associated with the secret.-
Methods inherited from interface org.cdk8s.plus20.CommonSecretProps
getImmutable
-
Methods inherited from interface org.cdk8s.plus20.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.BuilderofSecretProps
-
-