Class CfnCluster.ExecuteCommandConfigurationProperty
The details of the execute command configuration.
Inheritance
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class ExecuteCommandConfigurationProperty : Object, CfnCluster.IExecuteCommandConfigurationProperty
Syntax (vb)
Public Class ExecuteCommandConfigurationProperty
Inherits Object
Implements CfnCluster.IExecuteCommandConfigurationProperty
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.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() |
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()
public ExecuteCommandConfigurationProperty()
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
System.String
Remarks
LogConfiguration
The log configuration for the results of the execute command actions.
public object LogConfiguration { get; set; }
Property Value
System.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.
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
System.String