listResourceAssociations

Lists the resources associated with the specified resource.

Samples

// Lists the resources that reference the given rule, such as the templates and policies it is
// associated with.
val resp = networkSecurityManagerClient.listResourceAssociations {
    resourceIdentifier = "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
    maxResults = 10
}