Package org.cdk8s.plus25
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.88.0 (build eaabd08)", date="2023-09-11T06:17:58.320Z") @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.plus25.IApiResource
getApiGroup, getResourceName, getResourceType
-
Methods inherited from interface org.cdk8s.plus25.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.
-
-