Class: Aws::MigrationHubRefactorSpaces::Types::PutResourcePolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

A JSON-formatted string for an Amazon Web Services resource-based policy.

Returns:

  • (String)


1976
1977
1978
1979
1980
1981
# File 'gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 1976

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

#resource_arnString

The Amazon Resource Name (ARN) of the resource to which the policy is being attached.

Returns:

  • (String)


1976
1977
1978
1979
1980
1981
# File 'gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/types.rb', line 1976

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