![]() |
![]()
| ![]() |
![]()
NAMEPaws::CodeBuild::PutResourcePolicy - Arguments for method PutResourcePolicy on Paws::CodeBuild DESCRIPTIONThis class represents the parameters used for calling the method PutResourcePolicy on the AWS CodeBuild 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 $codebuild = Paws->service('CodeBuild'); my $PutResourcePolicyOutput = $codebuild->PutResourcePolicy( Policy => 'MyNonEmptyString', ResourceArn => 'MyNonEmptyString', ); # Results: my $ResourceArn = $PutResourcePolicyOutput->ResourceArn; # Returns a L<Paws::CodeBuild::PutResourcePolicyOutput> 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/codebuild/PutResourcePolicy> ATTRIBUTESREQUIRED Policy => StrA JSON-formatted resource policy. For more information, see Sharing a Project (https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share) and Sharing a Report Group (https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share) in the CodeBuild User Guide. REQUIRED ResourceArn => StrThe ARN of the "Project" or "ReportGroup" resource you want to associate with a resource policy. SEE ALSOThis class forms part of Paws, documenting arguments for method PutResourcePolicy in Paws::CodeBuild 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>
|