AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.ExecuteCommandLogConfiguration

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z

Syntax

C#
public class ExecuteCommandLogConfiguration

The ExecuteCommandLogConfiguration type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property CloudWatchEncryptionEnabled System.Boolean

Gets and sets the property CloudWatchEncryptionEnabled.

Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.

Public Property CloudWatchLogGroupName System.String

Gets and sets the property CloudWatchLogGroupName.

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

The CloudWatch log group must already be created.

Public Property S3BucketName System.String

Gets and sets the property S3BucketName.

The name of the S3 bucket to send logs to.

The S3 bucket must already be created.

Public Property S3EncryptionEnabled System.Boolean

Gets and sets the property S3EncryptionEnabled.

Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.

Public Property S3KeyPrefix System.String

Gets and sets the property S3KeyPrefix.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5