ResourcePolicyArgs

data class ResourcePolicyArgs(val policy: Output<Any>? = null, val resourceArn: Output<String>? = null) : ConvertibleToJava<ResourcePolicyArgs>

Retrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM on behalf of the resource owner when they share a resource.

Constructors

Link copied to clipboard
constructor(policy: Output<Any>? = null, resourceArn: Output<String>? = null)

Properties

Link copied to clipboard
val policy: Output<Any>? = null

The Amazon Resource Name (ARN) of the service network or service. Search the CloudFormation User Guide for AWS::VpcLattice::ResourcePolicy for more information about the expected schema for this property.

Link copied to clipboard
val resourceArn: Output<String>? = null

An IAM policy.

Functions

Link copied to clipboard
open override fun toJava(): ResourcePolicyArgs