Class CfnEnvironmentProps
Properties for defining a CfnEnvironment
.
Inheritance
System.Object
CfnEnvironmentProps
Implements
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.AWS.AppConfig.dll
Syntax (csharp)
public class CfnEnvironmentProps : Object, ICfnEnvironmentProps
Syntax (vb)
Public Class CfnEnvironmentProps
Inherits Object
Implements 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 TagsProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnEnvironmentProps() |
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. |
Constructors
CfnEnvironmentProps()
public CfnEnvironmentProps()
Properties
ApplicationId
The application ID.
public string ApplicationId { get; set; }
Property Value
System.String
Remarks
Description
A description of the environment.
public string Description { get; set; }
Property Value
System.String
Remarks
Monitors
Amazon CloudWatch alarms to monitor during the deployment process.
public object Monitors { get; set; }
Property Value
System.Object
Remarks
Name
A name for the environment.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
Metadata to assign to the environment.
public CfnEnvironment.ITagsProperty[] Tags { get; set; }
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.