Skip to content

/AWS1/CL_STR=>DELETEPROJECT()

About DeleteProject

Deletes a project, including project resources. Does not delete users associated with the project, but does delete the IAM roles that allowed access to the project.

Method Signature

IMPORTING

Required arguments:

IV_ID TYPE /AWS1/STRPROJECTID /AWS1/STRPROJECTID

The ID of the project to be deleted in AWS CodeStar.

Optional arguments:

IV_CLIENTREQUESTTOKEN TYPE /AWS1/STRCLIENTREQUESTTOKEN /AWS1/STRCLIENTREQUESTTOKEN

A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.

IV_DELETESTACK TYPE /AWS1/STRDELETESTACK /AWS1/STRDELETESTACK

Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_STRDELETEPROJECTRSLT /AWS1/CL_STRDELETEPROJECTRSLT

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC