Interface ICfnEnvironmentProps
Properties for defining a CfnEnvironment
.
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnEnvironmentProps
Syntax (vb)
Public Interface ICfnEnvironmentProps
Remarks
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;
var 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 CfnTag {
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
Description
A description of the environment.
virtual string Description { get; }
Property Value
System.String
Remarks
Monitors
Amazon CloudWatch alarms to monitor during the deployment process.
virtual object Monitors { get; }
Property Value
System.Object
Remarks
Name
A name for the environment.
string Name { get; }
Property Value
System.String
Remarks
Tags
Metadata to assign to the environment.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
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.