GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Glue::PutResourcePolicy(3) User Contributed Perl Documentation Paws::Glue::PutResourcePolicy(3)

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

This class represents the parameters used for calling the method PutResourcePolicy on the AWS Glue 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.

    my $glue = Paws->service('Glue');
    my $PutResourcePolicyResponse = $glue->PutResourcePolicy(
      PolicyInJson          => 'MyPolicyJsonString',
      EnableHybrid          => 'TRUE',                 # OPTIONAL
      PolicyExistsCondition => 'MUST_EXIST',           # OPTIONAL
      PolicyHashCondition   => 'MyHashString',         # OPTIONAL
      ResourceArn           => 'MyGlueResourceArn',    # OPTIONAL
    );
    # Results:
    my $PolicyHash = $PutResourcePolicyResponse->PolicyHash;
    # Returns a L<Paws::Glue::PutResourcePolicyResponse> 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/glue/PutResourcePolicy>

If 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:

  • By directly updating the resource policy with "PutResourePolicy"
  • By using the Grant permissions command on the Management Console.

Must be set to 'TRUE' if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.

Valid values are: "TRUE", "FALSE"

A value of "MUST_EXIST" is used to update a policy. A value of "NOT_EXIST" is used to create a new policy. If a value of "NONE" or a null value is used, the call does not depend on the existence of a policy.

Valid values are: "MUST_EXIST", "NOT_EXIST", "NONE"

The hash value returned when the previous policy was set using "PutResourcePolicy". Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.

REQUIRED PolicyInJson => Str

Contains the policy document to set, in JSON format.

Do not use. For internal use only.

This class forms part of Paws, documenting arguments for method PutResourcePolicy in Paws::Glue

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.