Class: Aws::EventBridgeV2::Types::ResourcePolicySummary

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

Overview

Summary of a policy attached to a resource: its name and revision ID.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_name ⇒ String

Name of a policy attached to a resource. Valid values: "default" (the customer-managed policy) and "AWS_RAM" (managed exclusively by AWS Resource Access Manager). Any other value is rejected.

Returns:

  • (String)


2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 2331

class ResourcePolicySummary < Struct.new(
  :policy_name,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#revision_id ⇒ String

Revision ID of a resource policy. A new revision ID is generated on every successful write.

Returns:

  • (String)


2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 2331

class ResourcePolicySummary < Struct.new(
  :policy_name,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end