Skip to content

/AWS1/CL_BLD=>PUTRESOURCEPOLICY()

About PutResourcePolicy

Stores a resource policy for the ARN of a Project or ReportGroup object.

Method Signature

IMPORTING

Required arguments:

IV_POLICY TYPE /AWS1/BLDNONEMPTYSTRING /AWS1/BLDNONEMPTYSTRING

A JSON-formatted resource policy. For more information, see Sharing a Project and Sharing a Report Group in the CodeBuild User Guide.

IV_RESOURCEARN TYPE /AWS1/BLDNONEMPTYSTRING /AWS1/BLDNONEMPTYSTRING

The ARN of the Project or ReportGroup resource you want to associate with a resource policy.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BLDPUTRESRCPLYOUTPUT /AWS1/CL_BLDPUTRESRCPLYOUTPUT