interface ResourcePolicyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.Organizations.ResourcePolicyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsorganizations#ResourcePolicyReference |
Java | software.amazon.awscdk.interfaces.organizations.ResourcePolicyReference |
Python | aws_cdk.interfaces.aws_organizations.ResourcePolicyReference |
TypeScript | aws-cdk-lib » interfaces » aws_organizations » ResourcePolicyReference |
A reference to a ResourcePolicy resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_organizations as interfaces_aws_organizations } from 'aws-cdk-lib/interfaces';
const resourcePolicyReference: interfaces_aws_organizations.ResourcePolicyReference = {
resourcePolicyArn: 'resourcePolicyArn',
resourcePolicyId: 'resourcePolicyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| resource | string | The ARN of the ResourcePolicy resource. |
| resource | string | The Id of the ResourcePolicy resource. |
resourcePolicyArn
Type:
string
The ARN of the ResourcePolicy resource.
resourcePolicyId
Type:
string
The Id of the ResourcePolicy resource.

.NET
Go
Java
Python
TypeScript