ContainerMonitoringConfigurationProperty Struct
Contains the monitoring configuration for a single cluster in a container association.
Specifies the cluster ARN and optional attribute filters to narrow which containers are tracked.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const containerMonitoringConfigurationProperty: networkfirewall.CfnContainerAssociation.ContainerMonitoringConfigurationProperty = {
clusterArn: 'clusterArn',
// the properties below are optional
attributeFilters: [{
key: 'key',
value: 'value',
}],
};
Properties
attributeFiltersIResolvable | IResolvable | CfnContainerAssociation.ContainerAttributeProperty[]attribute_filterstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ContainerAttributeProperty]]]attributeFiltersIResolvableAttributeFiltersIResolvableAttributeFiltersinterface{}#Key-value pairs that filter which containers are tracked.
For Amazon EKS, you can filter by namespace and Kubernetes labels. For Amazon ECS, you can filter by container instance attributes (EC2 launch type only).
The 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.