interface CfnContainerAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.NetworkFirewall.CfnContainerAssociationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnContainerAssociationProps |
Java | software.amazon.awscdk.services.networkfirewall.CfnContainerAssociationProps |
Python | aws_cdk.aws_networkfirewall.CfnContainerAssociationProps |
TypeScript | aws-cdk-lib » aws_networkfirewall » CfnContainerAssociationProps |
Properties for defining a CfnContainerAssociation.
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 cfnContainerAssociationProps: networkfirewall.CfnContainerAssociationProps = {
containerAssociationName: 'containerAssociationName',
containerMonitoringConfigurations: [{
clusterArn: 'clusterArn',
// the properties below are optional
attributeFilters: [{
key: 'key',
value: 'value',
}],
}],
type: 'type',
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| container | string | The descriptive name of the container association. |
| container | IResolvable | (IResolvable | Container)[] | The monitoring configurations for the container association. |
| type | string | The type of containers to monitor. |
| description? | string | A description of the container association. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
containerAssociationName
Type:
string
The descriptive name of the container association.
You can't change the name of a container association after you create it.
containerMonitoringConfigurations
Type:
IResolvable | (IResolvable | Container)[]
The monitoring configurations for the container association.
Each configuration specifies an Amazon ECS or Amazon EKS cluster to monitor and optional attribute filters to narrow which containers are tracked.
type
Type:
string
The type of containers to monitor.
You can't change the container type after creation.
description?
Type:
string
(optional)
A description of the container association.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.

.NET
Go
Java
Python
TypeScript