NAME
Paws::NetworkFirewall::AssociateFirewallPolicy - Arguments for method AssociateFirewallPolicy on Paws::NetworkFirewall
DESCRIPTION
This class represents the parameters used for calling the method AssociateFirewallPolicy on the AWS Network Firewall service. Use the attributes of this class as arguments to method AssociateFirewallPolicy.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateFirewallPolicy.
SYNOPSIS
my $network-firewall = Paws->service('NetworkFirewall');
my $AssociateFirewallPolicyResponse =
$network -firewall->AssociateFirewallPolicy(
FirewallPolicyArn => 'MyResourceArn',
FirewallArn => 'MyResourceArn', # OPTIONAL
FirewallName => 'MyResourceName', # OPTIONAL
UpdateToken => 'MyUpdateToken', # OPTIONAL
);
# Results:
my $FirewallArn = $AssociateFirewallPolicyResponse->FirewallArn;
my $FirewallName = $AssociateFirewallPolicyResponse->FirewallName;
my $FirewallPolicyArn = $AssociateFirewallPolicyResponse->FirewallPolicyArn;
my $UpdateToken = $AssociateFirewallPolicyResponse->UpdateToken;
# Returns a L<Paws::NetworkFirewall::AssociateFirewallPolicyResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/network-firewall/AssociateFirewallPolicy
ATTRIBUTES
FirewallArn => Str
The Amazon Resource Name (ARN) of the firewall.
You must specify the ARN or the name, and you can specify both.
FirewallName => Str
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
You must specify the ARN or the name, and you can specify both.
REQUIRED FirewallPolicyArn => Str
The Amazon Resource Name (ARN) of the firewall policy.
UpdateToken => Str
An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.
To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.
To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.
SEE ALSO
This class forms part of Paws, documenting arguments for method AssociateFirewallPolicy in Paws::NetworkFirewall
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues