interface EnvironmentVariableProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Amplify.Mixins.CfnBranchPropsMixin.EnvironmentVariableProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsamplify/mixins#CfnBranchPropsMixin_EnvironmentVariableProperty |
Java | software.amazon.awscdk.mixins.preview.services.amplify.mixins.CfnBranchPropsMixin.EnvironmentVariableProperty |
Python | aws_cdk.mixins_preview.aws_amplify.mixins.CfnBranchPropsMixin.EnvironmentVariableProperty |
TypeScript | @aws-cdk/mixins-preview » aws_amplify » mixins » CfnBranchPropsMixin » EnvironmentVariableProperty |
The EnvironmentVariable property type sets environment variables for a specific branch.
Environment variables are key-value pairs that are available at build time.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as amplify_mixins } from '@aws-cdk/mixins-preview/aws-amplify';
const environmentVariableProperty: amplify_mixins.CfnBranchPropsMixin.EnvironmentVariableProperty = {
name: 'name',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The environment variable name. |
| value? | string | The environment variable value. |
name?
Type:
string
(optional)
The environment variable name.
value?
Type:
string
(optional)
The environment variable value.

.NET
Go
Java
Python
TypeScript