![]() |
![]()
| ![]() |
![]()
NAMEPaws::Glue::PutResourcePolicy - Arguments for method PutResourcePolicy on Paws::Glue DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESEnableHybrid => StrIf 'TRUE', indicates that you are using both methods to grant cross-account access to Data Catalog resources:
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" PolicyExistsCondition => StrA 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" PolicyHashCondition => StrThe 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 => StrContains the policy document to set, in JSON format. ResourceArn => StrDo not use. For internal use only. SEE ALSOThis class forms part of Paws, documenting arguments for method PutResourcePolicy in Paws::Glue BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|