Show / Hide Table of Contents

Interface CfnCluster.IExecuteCommandLogConfigurationProperty

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

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IExecuteCommandLogConfigurationProperty
Syntax (vb)
Public Interface IExecuteCommandLogConfigurationProperty
Remarks

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

Link: 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

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.

Properties

CloudWatchEncryptionEnabled

Determines whether to use encryption on the CloudWatch logs.

virtual object CloudWatchEncryptionEnabled { get; }
Property Value

System.Object

Remarks

If not specified, encryption will be off.

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

CloudWatchLogGroupName

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

virtual string CloudWatchLogGroupName { get; }
Property Value

System.String

Remarks

The CloudWatch log group must already be created.

Link: 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.

virtual string S3BucketName { get; }
Property Value

System.String

Remarks

The S3 bucket must already be created.

Link: 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.

virtual object S3EncryptionEnabled { get; }
Property Value

System.Object

Remarks

If not specified, encryption is not used.

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

S3KeyPrefix

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

virtual string S3KeyPrefix { get; }
Property Value

System.String

Remarks

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

Back to top Generated by DocFX