Show / Hide Table of Contents

Interface ICfnEnvironmentProps

Properties for defining a CfnEnvironment.

Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.AWS.AppConfig.dll
Syntax (csharp)
public interface ICfnEnvironmentProps
Syntax (vb)
Public Interface ICfnEnvironmentProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.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.AWS.AppConfig;

CfnEnvironmentProps cfnEnvironmentProps = new CfnEnvironmentProps {
    ApplicationId = "applicationId",
    Name = "name",

    // the properties below are optional
    Description = "description",
    Monitors = new [] { new MonitorsProperty {
        AlarmArn = "alarmArn",
        AlarmRoleArn = "alarmRoleArn"
    } },
    Tags = new [] { new TagsProperty {
        Key = "key",
        Value = "value"
    } }
};

Synopsis

Properties

ApplicationId

The application ID.

Description

A description of the environment.

Monitors

Amazon CloudWatch alarms to monitor during the deployment process.

Name

A name for the environment.

Tags

Metadata to assign to the environment.

Properties

ApplicationId

The application ID.

string ApplicationId { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-applicationid

Description

A description of the environment.

virtual string Description { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-description

Monitors

Amazon CloudWatch alarms to monitor during the deployment process.

virtual object Monitors { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-monitors

Name

A name for the environment.

string Name { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-name

Tags

Metadata to assign to the environment.

virtual CfnEnvironment.ITagsProperty[] Tags { get; }
Property Value

CfnEnvironment.ITagsProperty[]

Remarks

Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-tags

Back to top Generated by DocFX