View a markdown version of this page

AWS::AmplifyGen3::IntegrationConfiguration EnvironmentVariable - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::AmplifyGen3::IntegrationConfiguration EnvironmentVariable

An environment variable that connected environments receive from the integration. For a custom integration, you define each variable with Value and Type. For other integration types, the integration type defines the variables, and you can only rename one of them with KeyOverride.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Key" : String, "KeyOverride" : String, "Type" : String, "Value" : String }

YAML

Key: String KeyOverride: String Type: String Value: String

Properties

Key

The name of the variable. For integration types other than custom, this is the name of a variable that the integration type provides.

Required: Yes

Type: String

Pattern: ^[a-zA-Z]([a-zA-Z0-9_])*$

Minimum: 1

Maximum: 128

Update requires: No interruption

KeyOverride

The name that connected environments see the variable as, in place of Key. It must differ from Key. Required for integration types other than custom.

Required: No

Type: String

Pattern: ^[a-zA-Z]([a-zA-Z0-9_])*$

Minimum: 1

Maximum: 128

Update requires: No interruption

Type

Specifies whether the value of a custom integration's variable is plaintext or sensitive. Required for a custom integration, and you can't change it for an existing Key. Not allowed for other integration types.

Required: No

Type: String

Allowed values: PLAINTEXT | SENSITIVE

Update requires: No interruption

Value

The value of a custom integration's variable. This property is write-only, so CloudFormation can't detect drift on it. Not allowed for other integration types.

Required: No

Type: String

Minimum: 1

Maximum: 4096

Update requires: No interruption