Skip to content
v2.278.0

ContainerAssociationReference Struct ​

A reference to a ContainerAssociation resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as interfaces_networkfirewall } from 'aws-cdk-lib/interfaces';
const containerAssociationReference: interfaces_networkfirewall.ContainerAssociationReference = {
  containerAssociationArn: 'containerAssociationArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_networkfirewall as interfaces_networkfirewall

container_association_reference = interfaces_networkfirewall.ContainerAssociationReference(
    container_association_arn="containerAssociationArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.networkfirewall.*;

ContainerAssociationReference containerAssociationReference = ContainerAssociationReference.builder()
        .containerAssociationArn("containerAssociationArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.NetworkFirewall;

var containerAssociationReference = new ContainerAssociationReference {
    ContainerAssociationArn = "containerAssociationArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

containerAssociationReference := &ContainerAssociationReference{
	ContainerAssociationArn: jsii.String("containerAssociationArn"),
}

Properties ​

containerAssociationArnstringcontainer_association_arnstrcontainerAssociationArnStringContainerAssociationArnstringContainerAssociationArn*string required #
The ContainerAssociationArn of the ContainerAssociation resource.