Show / Hide Table of Contents

Interface IEnvironmentOptions

Options for the Environment construct.

Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEnvironmentOptions
Syntax (vb)
Public Interface IEnvironmentOptions
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;

            Monitor monitor;

            var environmentOptions = new EnvironmentOptions {
                DeletionProtectionCheck = DeletionProtectionCheck.ACCOUNT_DEFAULT,
                Description = "description",
                EnvironmentName = "environmentName",
                Monitors = new [] { monitor }
            };

Synopsis

Properties

DeletionProtectionCheck

A property to prevent accidental deletion of active environments.

Description

The description of the environment.

EnvironmentName

The name of the environment.

Monitors

The monitors for the environment.

Properties

DeletionProtectionCheck

A property to prevent accidental deletion of active environments.

DeletionProtectionCheck? DeletionProtectionCheck { get; }
Property Value

DeletionProtectionCheck?

Remarks

Default: undefined - AppConfig default is ACCOUNT_DEFAULT

Description

The description of the environment.

string? Description { get; }
Property Value

string

Remarks

Default: - No description.

EnvironmentName

The name of the environment.

string? EnvironmentName { get; }
Property Value

string

Remarks

Default: - A name is generated.

Monitors

The monitors for the environment.

Monitor[]? Monitors { get; }
Property Value

Monitor[]

Remarks

Default: - No monitors.

Back to top Generated by DocFX