Show / Hide Table of Contents

Class CfnCluster.ExecuteCommandConfigurationProperty

The details of the execute command configuration.

Inheritance
object
CfnCluster.ExecuteCommandConfigurationProperty
Implements
CfnCluster.IExecuteCommandConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCluster.ExecuteCommandConfigurationProperty : CfnCluster.IExecuteCommandConfigurationProperty
Syntax (vb)
Public Class CfnCluster.ExecuteCommandConfigurationProperty Implements CfnCluster.IExecuteCommandConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.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.ECS;

             var executeCommandConfigurationProperty = new ExecuteCommandConfigurationProperty {
                 KmsKeyId = "kmsKeyId",
                 LogConfiguration = new ExecuteCommandLogConfigurationProperty {
                     CloudWatchEncryptionEnabled = false,
                     CloudWatchLogGroupName = "cloudWatchLogGroupName",
                     S3BucketName = "s3BucketName",
                     S3EncryptionEnabled = false,
                     S3KeyPrefix = "s3KeyPrefix"
                 },
                 Logging = "logging"
             };

Synopsis

Constructors

ExecuteCommandConfigurationProperty()

The details of the execute command configuration.

Properties

KmsKeyId

Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.

LogConfiguration

The log configuration for the results of the execute command actions.

Logging

The log setting to use for redirecting logs for your execute command results. The following log settings are available.

Constructors

ExecuteCommandConfigurationProperty()

The details of the execute command configuration.

public ExecuteCommandConfigurationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.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.ECS;

             var executeCommandConfigurationProperty = new ExecuteCommandConfigurationProperty {
                 KmsKeyId = "kmsKeyId",
                 LogConfiguration = new ExecuteCommandLogConfigurationProperty {
                     CloudWatchEncryptionEnabled = false,
                     CloudWatchLogGroupName = "cloudWatchLogGroupName",
                     S3BucketName = "s3BucketName",
                     S3EncryptionEnabled = false,
                     S3KeyPrefix = "s3KeyPrefix"
                 },
                 Logging = "logging"
             };

Properties

KmsKeyId

Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.

public string? KmsKeyId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.html#cfn-ecs-cluster-executecommandconfiguration-kmskeyid

LogConfiguration

The log configuration for the results of the execute command actions.

public object? LogConfiguration { get; set; }
Property Value

object

Remarks

The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When logging=OVERRIDE is specified, a logConfiguration must be provided.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.html#cfn-ecs-cluster-executecommandconfiguration-logconfiguration

Type union: either IResolvable or CfnCluster.IExecuteCommandLogConfigurationProperty

Logging

The log setting to use for redirecting logs for your execute command results. The following log settings are available.

public string? Logging { get; set; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.html#cfn-ecs-cluster-executecommandconfiguration-logging

    Implements

    CfnCluster.IExecuteCommandConfigurationProperty
    Back to top Generated by DocFX