Skip to content
v2.278.0

AssociationReference ​

Struct External

A reference to a Association resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as interfaces_ssm } from 'aws-cdk-lib/interfaces';
const associationReference: interfaces_ssm.AssociationReference = {
  associationId: 'associationId',
};
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_ssm as interfaces_ssm

association_reference = interfaces_ssm.AssociationReference(
    association_id="associationId"
)
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.ssm.*;

AssociationReference associationReference = AssociationReference.builder()
        .associationId("associationId")
        .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.SSM;

var associationReference = new AssociationReference {
    AssociationId = "associationId"
};
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"

associationReference := &AssociationReference{
	AssociationId: jsii.String("associationId"),
}

Properties ​

associationIdstringassociation_idstrassociationIdStringAssociationIdstringAssociationId*string required #
The AssociationId of the Association resource.