PolicyAssociationReference Struct
A reference to a PolicyAssociation resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as interfaces_securityhub } from 'aws-cdk-lib/interfaces';
const policyAssociationReference: interfaces_securityhub.PolicyAssociationReference = {
associationIdentifier: 'associationIdentifier',
};
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_securityhub as interfaces_securityhub
policy_association_reference = interfaces_securityhub.PolicyAssociationReference(
association_identifier="associationIdentifier"
)
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.securityhub.*;
PolicyAssociationReference policyAssociationReference = PolicyAssociationReference.builder()
.associationIdentifier("associationIdentifier")
.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.SecurityHub;
var policyAssociationReference = new PolicyAssociationReference {
AssociationIdentifier = "associationIdentifier"
};
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"
policyAssociationReference := &PolicyAssociationReference{
AssociationIdentifier: jsii.String("associationIdentifier"),
}
Properties
associationIdentifierstringassociation_identifierstrassociationIdentifierStringAssociationIdentifierstringAssociationIdentifier*string required #The AssociationIdentifier of the PolicyAssociation resource.