Class: Aws::WAF::Types::PutPermissionPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-waf/lib/aws-sdk-waf/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)


4281
4282
4283
4284
4285
4286
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 4281

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)


4281
4282
4283
4284
4285
4286
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 4281

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