Show / Hide Table of Contents

Class CfnCluster.ExecuteCommandLogConfigurationProperty

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

Inheritance
object
CfnCluster.ExecuteCommandLogConfigurationProperty
Implements
CfnCluster.IExecuteCommandLogConfigurationProperty
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.ExecuteCommandLogConfigurationProperty : CfnCluster.IExecuteCommandLogConfigurationProperty
Syntax (vb)
Public Class CfnCluster.ExecuteCommandLogConfigurationProperty Implements CfnCluster.IExecuteCommandLogConfigurationProperty
Remarks

The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.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 executeCommandLogConfigurationProperty = new ExecuteCommandLogConfigurationProperty {
                 CloudWatchEncryptionEnabled = false,
                 CloudWatchLogGroupName = "cloudWatchLogGroupName",
                 S3BucketName = "s3BucketName",
                 S3EncryptionEnabled = false,
                 S3KeyPrefix = "s3KeyPrefix"
             };

Synopsis

Constructors

ExecuteCommandLogConfigurationProperty()

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

Properties

CloudWatchEncryptionEnabled

Determines whether to use encryption on the CloudWatch logs.

CloudWatchLogGroupName

The name of the CloudWatch log group to send logs to.

S3BucketName

The name of the S3 bucket to send logs to.

S3EncryptionEnabled

Determines whether to use encryption on the S3 logs.

S3KeyPrefix

An optional folder in the S3 bucket to place logs in.

Constructors

ExecuteCommandLogConfigurationProperty()

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

public ExecuteCommandLogConfigurationProperty()
Remarks

The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.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 executeCommandLogConfigurationProperty = new ExecuteCommandLogConfigurationProperty {
                 CloudWatchEncryptionEnabled = false,
                 CloudWatchLogGroupName = "cloudWatchLogGroupName",
                 S3BucketName = "s3BucketName",
                 S3EncryptionEnabled = false,
                 S3KeyPrefix = "s3KeyPrefix"
             };

Properties

CloudWatchEncryptionEnabled

Determines whether to use encryption on the CloudWatch logs.

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

object

Remarks

If not specified, encryption will be off.

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

Type union: either bool or IResolvable

CloudWatchLogGroupName

The name of the CloudWatch log group to send logs to.

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

string

Remarks
The CloudWatch log group must already be created.

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

S3BucketName

The name of the S3 bucket to send logs to.

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

string

Remarks
The S3 bucket must already be created.

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

S3EncryptionEnabled

Determines whether to use encryption on the S3 logs.

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

object

Remarks

If not specified, encryption is not used.

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

Type union: either bool or IResolvable

S3KeyPrefix

An optional folder in the S3 bucket to place logs in.

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

string

Remarks

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

Implements

CfnCluster.IExecuteCommandLogConfigurationProperty
Back to top Generated by DocFX