ContainerAssociationContainerMonitoringConfiguration constructor
const
ContainerAssociationContainerMonitoringConfiguration({
- Input<
List< ? attributeFilters,ContainerAssociationContainerMonitoringConfigurationAttributeFilter> ?> - required Input<
String> clusterArn,
Creates a new ContainerAssociationContainerMonitoringConfiguration.
attributeFilters Key-value pairs that filter which containers within the cluster are monitored. For Amazon EKS, filter by namespace and Kubernetes labels. For Amazon ECS, filter by container instance attributes; attribute filters only match containers on the EC2 launch type, not Fargate. See attributeFilter Block below.
clusterArn ARN of the Amazon ECS or Amazon EKS cluster to monitor. The cluster must be in the same Region and account as the container association.
Implementation
const ContainerAssociationContainerMonitoringConfiguration({
this.attributeFilters,
required this.clusterArn,
});