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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-vpclattice/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 'gems/aws-sdk-vpclattice/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 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 2604

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