class Aws::WAFV2::Types::PutManagedRuleSetVersionsRequest
@note When making an API call, you may pass PutManagedRuleSetVersionsRequest
data as a hash: { name: "EntityName", # required scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL id: "EntityId", # required lock_token: "LockToken", # required recommended_version: "VersionKeyString", versions_to_publish: { "VersionKeyString" => { associated_rule_group_arn: "ResourceArn", forecasted_lifetime: 1, }, }, }
@!attribute [rw] name
The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set. This name is assigned to the corresponding managed rule group, which your customers can access and use. @return [String]
@!attribute [rw] scope
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: * CLI - Specify the Region when you use the CloudFront scope: `--scope=CLOUDFRONT --region=us-east-1`. * API and SDKs - For all calls, use the Region endpoint us-east-1. @return [String]
@!attribute [rw] id
A unique identifier for the managed rule set. The ID is returned in the responses to commands like `list`. You provide it to operations like `get` and `update`. @return [String]
@!attribute [rw] lock_token
A token used for optimistic locking. WAF returns a token to your `get` and `list` requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like `update` and `delete`. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a `WAFOptimisticLockException`. If this happens, perform another `get`, and use the new token returned by that operation. @return [String]
@!attribute [rw] recommended_version
The version of the named managed rule group that you'd like your customers to choose, from among your version offerings. @return [String]
@!attribute [rw] versions_to_publish
The versions of the named managed rule group that you want to offer to your customers. @return [Hash<String,Types::VersionToPublish>]
@see docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutManagedRuleSetVersionsRequest AWS API Documentation
Constants
- SENSITIVE