You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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
}

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The policy to attach to the specified RuleGroup.

Returns:

  • (String)


3551
3552
3553
3554
3555
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3551

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

#resource_arnString

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

Returns:

  • (String)


3551
3552
3553
3554
3555
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3551

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