Show / Hide Table of Contents

Class CfnAppPropsMixin.EnvironmentVariableProperty

Inheritance
object
CfnAppPropsMixin.EnvironmentVariableProperty
Implements
CfnAppPropsMixin.IEnvironmentVariableProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAppPropsMixin.EnvironmentVariableProperty : CfnAppPropsMixin.IEnvironmentVariableProperty
Syntax (vb)
Public Class CfnAppPropsMixin.EnvironmentVariableProperty Implements CfnAppPropsMixin.IEnvironmentVariableProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environmentvariable.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks;

             var environmentVariableProperty = new EnvironmentVariableProperty {
                 Key = "key",
                 Secure = false,
                 Value = "value"
             };

Synopsis

Constructors

EnvironmentVariableProperty()

Properties

Key

(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.

Secure

(Optional) Whether the variable's value is returned by the DescribeApps action.

Value

(Optional) The environment variable's value, which can be left empty.

Constructors

EnvironmentVariableProperty()

public EnvironmentVariableProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environmentvariable.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks;

             var environmentVariableProperty = new EnvironmentVariableProperty {
                 Key = "key",
                 Secure = false,
                 Value = "value"
             };

Properties

Key

(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.

public string? Key { get; set; }
Property Value

string

Remarks

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

Secure

(Optional) Whether the variable's value is returned by the DescribeApps action.

public object? Secure { get; set; }
Property Value

object

Remarks

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

Type union: either bool or IResolvable

Value

(Optional) The environment variable's value, which can be left empty.

public string? Value { get; set; }
Property Value

string

Remarks

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

Implements

CfnAppPropsMixin.IEnvironmentVariableProperty
Back to top Generated by DocFX