Class: Aws::NetworkManager::Types::PutResourcePolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb

Overview

Note:

When making an API call, you may pass PutResourcePolicyRequest data as a hash:

{
  policy_document: "ResourcePolicyDocument", # required
  resource_arn: "ResourceArn", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_documentString

The JSON resource policy document.

Returns:

  • (String)


5386
5387
5388
5389
5390
5391
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 5386

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

#resource_arnString

The ARN of the resource policy.

Returns:

  • (String)


5386
5387
5388
5389
5390
5391
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 5386

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