CfnContainerAssociationProps
- class aws_cdk.aws_networkfirewall.CfnContainerAssociationProps(*, container_association_name, container_monitoring_configurations, type, description=None, tags=None)
Bases:
objectProperties for defining a
CfnContainerAssociation.- Parameters:
container_association_name (
str) – The descriptive name of the container association. You can’t change the name of a container association after you create it.container_monitoring_configurations (
Union[IResolvable,Sequence[Union[IResolvable,ContainerMonitoringConfigurationProperty,Dict[str,Any]]]]) – 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 (
str) – The type of containers to monitor. You can’t change the container type after creation.description (
Optional[str]) – A description of the container association.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_networkfirewall as networkfirewall cfn_container_association_props = networkfirewall.CfnContainerAssociationProps( container_association_name="containerAssociationName", container_monitoring_configurations=[networkfirewall.CfnContainerAssociation.ContainerMonitoringConfigurationProperty( cluster_arn="clusterArn", # the properties below are optional attribute_filters=[networkfirewall.CfnContainerAssociation.ContainerAttributeProperty( key="key", value="value" )] )], type="type", # the properties below are optional description="description", tags=[CfnTag( key="key", value="value" )] )
Attributes
- container_association_name
The descriptive name of the container association.
You can’t change the name of a container association after you create it.
- container_monitoring_configurations
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.
- description
A description of the container association.
- tags
An array of key-value pairs to apply to this resource.
- type
The type of containers to monitor.
You can’t change the container type after creation.