interface ContainerMonitoringConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.NetworkFirewall.CfnContainerAssociation.ContainerMonitoringConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnContainerAssociation_ContainerMonitoringConfigurationProperty |
Java | software.amazon.awscdk.services.networkfirewall.CfnContainerAssociation.ContainerMonitoringConfigurationProperty |
Python | aws_cdk.aws_networkfirewall.CfnContainerAssociation.ContainerMonitoringConfigurationProperty |
TypeScript | aws-cdk-lib » aws_networkfirewall » CfnContainerAssociation » ContainerMonitoringConfigurationProperty |
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
// 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
| Name | Type | Description |
|---|---|---|
| cluster | string | The ARN of the Amazon ECS or Amazon EKS cluster to monitor. |
| attribute | IResolvable | (IResolvable | Container)[] | Key-value pairs that filter which containers are tracked. |
clusterArn
Type:
string
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.
attributeFilters?
Type:
IResolvable | (IResolvable | Container)[]
(optional)
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).

.NET
Go
Java
Python
TypeScript