interface EcsSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Batch.CfnComputeEnvironment.EcsSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnComputeEnvironment_EcsSettingsProperty |
Java | software.amazon.awscdk.services.batch.CfnComputeEnvironment.EcsSettingsProperty |
Python | aws_cdk.aws_batch.CfnComputeEnvironment.EcsSettingsProperty |
TypeScript | aws-cdk-lib » aws_batch » CfnComputeEnvironment » EcsSettingsProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const ecsSettingsProperty: batch.CfnComputeEnvironment.EcsSettingsProperty = {
containerInsights: 'containerInsights',
};
Properties
| Name | Type | Description |
|---|---|---|
| container | string | The CloudWatch Container Insights setting applied to the Amazon ECS cluster that backs this compute environment. |
containerInsights?
Type:
string
(optional)
The CloudWatch Container Insights setting applied to the Amazon ECS cluster that backs this compute environment.
After you set this property, you can't revert it to the default (unset) state in which the setting is managed outside of AWS Batch. If you remove this property after previously setting it, AWS Batch treats the omission as DISABLED, because the underlying API has no way to unset the value. Because of this, if a stack rollback would return this property to its previous unset state, AWS Batch sets it to DISABLED instead.

.NET
Go
Java
Python
TypeScript