Interface IEnvironmentAttributes
Attributes of an existing AWS AppConfig environment to import it.
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEnvironmentAttributes
Syntax (vb)
Public Interface IEnvironmentAttributes
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;
Application application;
Monitor monitor;
var environmentAttributes = new EnvironmentAttributes {
Application = application,
EnvironmentId = "environmentId",
// the properties below are optional
Description = "description",
Monitors = new [] { monitor },
Name = "name"
};
Synopsis
Properties
| Application | The application associated with the environment. |
| Description | The description of the environment. |
| EnvironmentId | The ID of the environment. |
| Monitors | The monitors for the environment. |
| Name | The name of the environment. |
Properties
Application
The application associated with the environment.
IApplication Application { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Description
The description of the environment.
string? Description { get; }
Property Value
Remarks
Default: - None.
EnvironmentId
The ID of the environment.
string EnvironmentId { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Monitors
The monitors for the environment.
Monitor[]? Monitors { get; }
Property Value
Monitor[]
Remarks
Default: - None.