Class: Aws::EventBridgeV2::Types::PutResourcePolicyResponse

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

Overview

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)


2267
2268
2269
2270
2271
2272
2273
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 2267

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

#resource_arn ⇒ String

The Amazon Resource Name (ARN) that uniquely identifies an event bus.

Returns:

  • (String)


2267
2268
2269
2270
2271
2272
2273
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 2267

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

#revision_id ⇒ String

Absent when the write removed the policy; a removal produces no new revision.

Returns:

  • (String)


2267
2268
2269
2270
2271
2272
2273
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 2267

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