package awsopsworks // Represents an app's environment variable. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // environmentVariableProperty := &EnvironmentVariableProperty{ // Key: jsii.String("key"), // Value: jsii.String("value"), // // // the properties below are optional // Secure: jsii.Boolean(false), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environmentvariable.html // type CfnApp_EnvironmentVariableProperty struct { // (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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environmentvariable.html#cfn-opsworks-app-environmentvariable-key // Key *string `field:"required" json:"key" yaml:"key"` // (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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environmentvariable.html#cfn-opsworks-app-environmentvariable-value // Value *string `field:"required" json:"value" yaml:"value"` // (Optional) Whether the variable's value is returned by the [DescribeApps](https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/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` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environmentvariable.html#cfn-opsworks-app-environmentvariable-secure // Secure interface{} `field:"optional" json:"secure" yaml:"secure"` }