interface EnvironmentVariableProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OpsWorks.Mixins.CfnAppPropsMixin.EnvironmentVariableProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsopsworks/mixins#CfnAppPropsMixin_EnvironmentVariableProperty |
Java | software.amazon.awscdk.mixins.preview.services.opsworks.mixins.CfnAppPropsMixin.EnvironmentVariableProperty |
Python | aws_cdk.mixins_preview.aws_opsworks.mixins.CfnAppPropsMixin.EnvironmentVariableProperty |
TypeScript | @aws-cdk/mixins-preview » aws_opsworks » mixins » CfnAppPropsMixin » EnvironmentVariableProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as opsworks_mixins } from '@aws-cdk/mixins-preview/aws-opsworks';
const environmentVariableProperty: opsworks_mixins.CfnAppPropsMixin.EnvironmentVariableProperty = {
key: 'key',
secure: false,
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| key? | string | (Required) The environment variable's name, which can consist of up to 64 characters and must be specified. |
| secure? | boolean | IResolvable | (Optional) Whether the variable's value is returned by the DescribeApps action. |
| value? | string | (Optional) The environment variable's value, which can be left empty. |
key?
Type:
string
(optional)
(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.
secure?
Type:
boolean | IResolvable
(optional)
(Optional) Whether the variable's value is returned by the DescribeApps action.
To hide an environment variable's value, set Secure to true . DescribeApps returns *****FILTERED***** instead of the actual value. The default value for Secure is false .
value?
Type:
string
(optional)
(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.

.NET
Go
Java
Python
TypeScript