Interface CfnContainerAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:56.349Z")
@Stability(Stable)
public interface CfnContainerAssociationProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.networkfirewall.*;
CfnContainerAssociationProps cfnContainerAssociationProps = CfnContainerAssociationProps.builder()
.containerAssociationName("containerAssociationName")
.containerMonitoringConfigurations(List.of(ContainerMonitoringConfigurationProperty.builder()
.clusterArn("clusterArn")
// the properties below are optional
.attributeFilters(List.of(ContainerAttributeProperty.builder()
.key("key")
.value("value")
.build()))
.build()))
.type("type")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainerAssociationPropsstatic final classAn implementation forCfnContainerAssociationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The descriptive name of the container association.The monitoring configurations for the container association.default StringA description of the container association.getTags()An array of key-value pairs to apply to this resource.getType()The type of containers to monitor.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerAssociationName
The descriptive name of the container association.You can't change the name of a container association after you create it.
- See Also:
-
getContainerMonitoringConfigurations
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnContainerAssociation.ContainerMonitoringConfigurationProperty>- See Also:
-
getType
The type of containers to monitor.You can't change the container type after creation.
- See Also:
-
getDescription
A description of the container association.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
-