Class: Aws::RedshiftServerless::Types::ResourcePolicy

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

Overview

The resource policy object. Currently, you can use policies to share snapshots across Amazon Web Services accounts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The resource policy.

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 2330

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

#resource_arnString

The Amazon Resource Name (ARN) of the policy.

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 2330

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