Class: Aws::WAFRegional::Types::PutPermissionPolicyRequest

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

Overview

Note:

When making an API call, you may pass PutPermissionPolicyRequest data as a hash:

{
  resource_arn: "ResourceArn", # required
  policy: "PolicyString", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The policy to attach to the specified RuleGroup.

Returns:

  • (String)


4439
4440
4441
4442
4443
4444
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 4439

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

#resource_arnString

The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

Returns:

  • (String)


4439
4440
4441
4442
4443
4444
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 4439

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