Interface CfnAppPropsMixin.EnvironmentVariableProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAppPropsMixin.EnvironmentVariableProperty.Jsii$Proxy
- Enclosing class:
CfnAppPropsMixin
@Stability(Stable)
public static interface CfnAppPropsMixin.EnvironmentVariableProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.opsworks.*;
EnvironmentVariableProperty environmentVariableProperty = EnvironmentVariableProperty.builder()
.key("key")
.secure(false)
.value("value")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAppPropsMixin.EnvironmentVariablePropertystatic final classAn implementation forCfnAppPropsMixin.EnvironmentVariableProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetKey()(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.default Object(Optional) Whether the variable's value is returned by theDescribeAppsaction.default StringgetValue()(Optional) The environment variable's value, which can be left empty.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.
- See Also:
-
getSecure
(Optional) Whether the variable's value is returned by theDescribeAppsaction.To hide an environment variable's value, set
Securetotrue.DescribeAppsreturns*****FILTERED*****instead of the actual value. The default value forSecureisfalse.Returns union: either
BooleanorIResolvable- See Also:
-
getValue
(Optional) The environment variable's value, which can be left empty.If you specify a value, it can contain up to 256 characters, which must all be printable.
- See Also:
-
builder
-