aws-cdk-lib.aws_amplify.CfnBranch.EnvironmentVariableProperty

interface EnvironmentVariableProperty

LanguageType name
.NETAmazon.CDK.AWS.Amplify.CfnBranch.EnvironmentVariableProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamplify#CfnBranch_EnvironmentVariableProperty
Javasoftware.amazon.awscdk.services.amplify.CfnBranch.EnvironmentVariableProperty
Pythonaws_cdk.aws_amplify.CfnBranch.EnvironmentVariableProperty
TypeScript aws-cdk-lib » aws_amplify » CfnBranch » 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 { aws_amplify as amplify } from 'aws-cdk-lib';
const environmentVariableProperty: amplify.CfnBranch.EnvironmentVariableProperty = {
  name: 'name',
  value: 'value',
};

Properties

NameTypeDescription
namestringThe environment variable name.
valuestringThe environment variable value.

name

Type: string

The environment variable name.

Length Constraints: Maximum length of 255.

Pattern: (?s).*


value

Type: string

The environment variable value.

Length Constraints: Maximum length of 5500.

Pattern: (?s).*