Class: Aws::VPCLattice::Types::PutResourcePolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-vpclattice/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

An IAM policy. The policy string in JSON must not contain newlines or blank lines.

Returns:

  • (String)


2604
2605
2606
2607
2608
2609
# File 'lib/aws-sdk-vpclattice/types.rb', line 2604

class PutResourcePolicyRequest < Struct.new(
  :policy,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

Returns:

  • (String)


2604
2605
2606
2607
2608
2609
# File 'lib/aws-sdk-vpclattice/types.rb', line 2604

class PutResourcePolicyRequest < Struct.new(
  :policy,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end