Package org.cdk8s.plus28
Interface ISecret
-
- All Superinterfaces:
IApiResource,software.constructs.IConstruct,software.constructs.IDependable,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ISecret.Jsii$Default
- All Known Implementing Classes:
BasicAuthSecret,DockerConfigSecret,ISecret.Jsii$Proxy,Secret,ServiceAccountTokenSecret,SshAuthSecret,TlsSecret
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.559Z") @Stability(Stable) public interface ISecret extends software.amazon.jsii.JsiiSerializable, IResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceISecret.Jsii$DefaultInternal default implementation forISecret.static classISecret.Jsii$ProxyA proxy class which represents a concrete javascript instance of this type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnvValueenvValue(String key)Returns EnvValue object from a secret's key.EnvValueenvValue(String key, EnvValueFromSecretOptions options)Returns EnvValue object from a secret's key.-
Methods inherited from interface org.cdk8s.plus28.IApiResource
getApiGroup, getResourceName, getResourceType
-
Methods inherited from interface org.cdk8s.plus28.IResource
getApiVersion, getKind, getName
-
-
-
-
Method Detail
-
envValue
@Stability(Stable) @NotNull EnvValue envValue(@NotNull String key, @Nullable EnvValueFromSecretOptions options)
Returns EnvValue object from a secret's key.- Parameters:
key- Secret's key. This parameter is required.options- Additional EnvValue options.
-
-