ResourcePolicyReference
- class aws_cdk.aws_ssm.ResourcePolicyReference(*, policy_id, resource_arn)
Bases:
object
A reference to a ResourcePolicy resource.
- Parameters:
policy_id (
str
) – The PolicyId of the ResourcePolicy resource.resource_arn (
str
) – The ResourceArn of the ResourcePolicy resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ssm as ssm resource_policy_reference = ssm.ResourcePolicyReference( policy_id="policyId", resource_arn="resourceArn" )
Attributes
- policy_id
The PolicyId of the ResourcePolicy resource.
- resource_arn
The ResourceArn of the ResourcePolicy resource.