Class: Aws::WAFV2::Types::ConnectedAccountConfig

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

Overview

A connected account configuration for AI bot monetization. Specifies the connected account that payments settle to and the per-network pricing. Settlement through a connected account is an alternative to the self-managed wallets in CryptoConfig; wallet addresses are managed for the connected account rather than configured by you. If the referenced connected account is not active or not enabled for crypto settlement, the CreateWebACL, UpdateWebACL, CreateRuleGroup, or UpdateRuleGroup request that includes it is rejected. Specifically, a request that references the account is rejected with WAFInvalidOperationException if the account or its crypto settlement capability isn't active, WAFNonexistentItemException if the ARN no longer exists, AccessDeniedException if you don't have payments:GetConnectedAccount, or WAFInvalidParameterException if the ARN is invalid or the partition is unsupported. Connected accounts are available only in the commercial Amazon Web Services partition.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connected_account_arn ⇒ String

The Amazon Resource Name (ARN) of the connected account that payments settle to. You obtain this ARN from Payment preferences > Connected accounts in the Amazon Web Services Billing and Cost Management console. For more information, see Managing connected accounts. The connected account must be active and enabled for crypto settlement; otherwise the request is rejected. To use a connected account, you must have the payments:GetConnectedAccount permission on this ARN.

Returns:

  • (String)


1408
1409
1410
1411
1412
1413
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1408

class ConnectedAccountConfig < Struct.new(
  :connected_account_arn,
  :payment_networks)
  SENSITIVE = []
  include Aws::Structure
end

#payment_networks ⇒ Array<Types::ConnectedAccountChainConfig>

The per-network configurations for the connected account. You can specify 1 to 2 networks. Each entry specifies a blockchain network and the price for each request.



1408
1409
1410
1411
1412
1413
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1408

class ConnectedAccountConfig < Struct.new(
  :connected_account_arn,
  :payment_networks)
  SENSITIVE = []
  include Aws::Structure
end