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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshiftserverless/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

#policy ⇒ String

The resource policy.

Returns:

  • (String)


3307
3308
3309
3310
3311
3312
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3307

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

#resource_arn ⇒ String

The Amazon Resource Name (ARN) of the policy.

Returns:

  • (String)


3307
3308
3309
3310
3311
3312
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3307

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