Interface CfnCluster.IExecuteCommandConfigurationProperty
The details of the execute command configuration.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IExecuteCommandConfigurationProperty
Syntax (vb)
Public Interface 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
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. |
Properties
KmsKeyId
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.
virtual string KmsKeyId { get; }
Property Value
System.String
Remarks
LogConfiguration
The log configuration for the results of the execute command actions.
virtual object LogConfiguration { get; }
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.
virtual string Logging { get; }
Property Value
System.String