NAME

Paws::NetworkFirewall::PutResourcePolicy - Arguments for method PutResourcePolicy on Paws::NetworkFirewall

DESCRIPTION

This class represents the parameters used for calling the method PutResourcePolicy on the AWS Network Firewall service. Use the attributes of this class as arguments to method PutResourcePolicy.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutResourcePolicy.

SYNOPSIS

my $network-firewall = Paws->service('NetworkFirewall');
my $PutResourcePolicyResponse = $network -firewall->PutResourcePolicy(
  Policy      => 'MyPolicyString',
  ResourceArn => 'MyResourceArn',

);

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/PutResourcePolicy

ATTRIBUTES

REQUIRED Policy => Str

The AWS Identity and Access Management policy statement that lists the accounts that you want to share your rule group or firewall policy with and the operations that you want the accounts to be able to perform.

For a rule group resource, you can specify the following operations in the Actions section of the statement:

  • network-firewall:CreateFirewallPolicy

  • network-firewall:UpdateFirewallPolicy

  • network-firewall:ListRuleGroups

For a firewall policy resource, you can specify the following operations in the Actions section of the statement:

  • network-firewall:CreateFirewall

  • network-firewall:UpdateFirewall

  • network-firewall:AssociateFirewallPolicy

  • network-firewall:ListFirewallPolicies

In the Resource section of the statement, you specify the ARNs for the rule groups and firewall policies that you want to share with the account that you specified in Arn.

REQUIRED ResourceArn => Str

The Amazon Resource Name (ARN) of the account that you want to share rule groups and firewall policies with.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutResourcePolicy 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