AWS::VpcLattice::ResourcePolicy
Retrieves information about the resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::VpcLattice::ResourcePolicy", "Properties" : { "Policy" :
Json
, "ResourceArn" :String
} }
YAML
Type: AWS::VpcLattice::ResourcePolicy Properties: Policy:
Json
ResourceArn:String
Properties
Policy
-
The Amazon Resource Name (ARN) of the service network or service.
Required: Yes
Type: Json
Update requires: No interruption
ResourceArn
-
An IAM policy.
Required: Yes
Type: String
Pattern:
^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}$
Minimum:
20
Maximum:
200
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the Amazon Resource Name (ARN) of the resource policy.
For more information about using the Ref
function, see Ref
.