Class: Aws::EventBridgeV2::Types::GetResourcePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EventBridgeV2::Types::GetResourcePolicyRequest
- Defined in:
- gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy_name ⇒ String
Which named policy to read.
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) that uniquely identifies an event bus.
Instance Attribute Details
#policy_name ⇒ String
Which named policy to read. Defaults to "default" when omitted (a read AWS Resource Access Manager makes on the owner's behalf resolves to "AWS_RAM" instead). Unlike writing, neither name is reserved on a read: the bus owner can read both. There is no fallback between the two, so a bus shared only through Resource Access Manager fails with ResourceNotFoundException until "AWS_RAM" is named explicitly. A well-formed name that is neither of the two fails with InvalidInputException.
1259 1260 1261 1262 1263 1264 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259 class GetResourcePolicyRequest < Struct.new( :resource_arn, :policy_name) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
The Amazon Resource Name (ARN) that uniquely identifies an event bus.
1259 1260 1261 1262 1263 1264 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1259 class GetResourcePolicyRequest < Struct.new( :resource_arn, :policy_name) SENSITIVE = [] include Aws::Structure end |