We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 21, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 21, 2026 by Pulumi
Resource type definition for AWS::NetworkFirewall::ContainerAssociation. A container association monitors container lifecycle events in your Amazon ECS or Amazon EKS clusters and resolves running container addresses for use in Network Firewall rules.
Using getContainerAssociation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getContainerAssociation(args: GetContainerAssociationArgs, opts?: InvokeOptions): Promise<GetContainerAssociationResult>
function getContainerAssociationOutput(args: GetContainerAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetContainerAssociationResult>def get_container_association(container_association_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContainerAssociationResult
def get_container_association_output(container_association_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetContainerAssociationResult]func LookupContainerAssociation(ctx *Context, args *LookupContainerAssociationArgs, opts ...InvokeOption) (*LookupContainerAssociationResult, error)
func LookupContainerAssociationOutput(ctx *Context, args *LookupContainerAssociationOutputArgs, opts ...InvokeOption) LookupContainerAssociationResultOutput> Note: This function is named LookupContainerAssociation in the Go SDK.
public static class GetContainerAssociation
{
public static Task<GetContainerAssociationResult> InvokeAsync(GetContainerAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetContainerAssociationResult> Invoke(GetContainerAssociationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetContainerAssociationResult> Invoke(GetContainerAssociationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetContainerAssociationResult> getContainerAssociation(GetContainerAssociationArgs args, InvokeOptions options)
public static Output<GetContainerAssociationResult> getContainerAssociation(GetContainerAssociationArgs args, InvokeOptions options)
public static Output<GetContainerAssociationResult> getContainerAssociation(GetContainerAssociationArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:networkfirewall:getContainerAssociation
arguments:
# arguments dictionarydata "aws-native_networkfirewall_get_container_association" "name" {
# arguments
}The following arguments are supported:
- Container
Association stringArn - The Amazon Resource Name (ARN) of the container association.
- Container
Association stringArn - The Amazon Resource Name (ARN) of the container association.
- container_
association_ stringarn - The Amazon Resource Name (ARN) of the container association.
- container
Association StringArn - The Amazon Resource Name (ARN) of the container association.
- container
Association stringArn - The Amazon Resource Name (ARN) of the container association.
- container_
association_ strarn - The Amazon Resource Name (ARN) of the container association.
- container
Association StringArn - The Amazon Resource Name (ARN) of the container association.
getContainerAssociation Result
The following output properties are available:
- Container
Association stringArn - The Amazon Resource Name (ARN) of the container association.
- Container
Monitoring List<Pulumi.Configurations Aws Native. Network Firewall. Outputs. Container Association Container Monitoring Configuration> - 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 string
- A description of the container association.
- Resolved
Cidr intCount - The number of CIDR blocks resolved from the monitored containers.
- Status
Pulumi.
Aws Native. Network Firewall. Container Association Status - The current status of the container association.
-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Container
Association stringArn - The Amazon Resource Name (ARN) of the container association.
- Container
Monitoring []ContainerConfigurations Association Container Monitoring Configuration - 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 string
- A description of the container association.
- Resolved
Cidr intCount - The number of CIDR blocks resolved from the monitored containers.
- Status
Container
Association Status - The current status of the container association.
- Tag
- An array of key-value pairs to apply to this resource.
- container_
association_ stringarn - The Amazon Resource Name (ARN) of the container association.
- container_
monitoring_ list(object)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 string
- A description of the container association.
- resolved_
cidr_ numbercount - The number of CIDR blocks resolved from the monitored containers.
- status "ACTIVE" | "CREATING" | "DELETING" | "UPDATING"
- The current status of the container association.
- list(object)
- An array of key-value pairs to apply to this resource.
- container
Association StringArn - The Amazon Resource Name (ARN) of the container association.
- container
Monitoring List<ContainerConfigurations Association Container Monitoring Configuration> - 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 String
- A description of the container association.
- resolved
Cidr IntegerCount - The number of CIDR blocks resolved from the monitored containers.
- status
Container
Association Status - The current status of the container association.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- container
Association stringArn - The Amazon Resource Name (ARN) of the container association.
- container
Monitoring ContainerConfigurations Association Container Monitoring Configuration[] - 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 string
- A description of the container association.
- resolved
Cidr numberCount - The number of CIDR blocks resolved from the monitored containers.
- status
Container
Association Status - The current status of the container association.
- Tag[]
- An array of key-value pairs to apply to this resource.
- container_
association_ strarn - The Amazon Resource Name (ARN) of the container association.
- container_
monitoring_ Sequence[Containerconfigurations Association Container Monitoring Configuration] - 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 str
- A description of the container association.
- resolved_
cidr_ intcount - The number of CIDR blocks resolved from the monitored containers.
- status
Container
Association Status - The current status of the container association.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- container
Association StringArn - The Amazon Resource Name (ARN) of the container association.
- container
Monitoring List<Property Map>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 String
- A description of the container association.
- resolved
Cidr NumberCount - The number of CIDR blocks resolved from the monitored containers.
- status "ACTIVE" | "CREATING" | "DELETING" | "UPDATING"
- The current status of the container association.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
ContainerAssociationContainerAttribute
ContainerAssociationContainerMonitoringConfiguration
- Cluster
Arn 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.
- Attribute
Filters List<Pulumi.Aws Native. Network Firewall. Inputs. Container Association Container Attribute> - 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).
- Cluster
Arn 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.
- Attribute
Filters []ContainerAssociation Container Attribute - 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).
- cluster_
arn 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.
- attribute_
filters list(object) - 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).
- cluster
Arn 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.
- attribute
Filters List<ContainerAssociation Container Attribute> - 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).
- cluster
Arn 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.
- attribute
Filters ContainerAssociation Container Attribute[] - 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).
- cluster_
arn str - 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.
- attribute_
filters Sequence[ContainerAssociation Container Attribute] - 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).
- cluster
Arn 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.
- attribute
Filters List<Property Map> - 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).
ContainerAssociationStatus
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 21, 2026 by Pulumi