This page provides instructions for cleaning up the resources created during the preceding modules.
-
In the AWS Management Console, click Services then select IAM under Security, Identity & Compliance.
-
Select Roles from the navigation menu.
-
Type
CodeStarWorker-uni-api-CloudFormation
into the filter box and click CodeStarWorker-uni-api-CloudFormation in the list of role. -
For each of the following attached IAM Managed Policies, Click Detach Policy next to the policy and click Detach in the confirmation dialog box:
- AWSLambdaReadOnlyAccess
-
In the AWS Management Console, click Services then select IAM under Security, Identity & Compliance.
-
Select Roles from the navigation menu.
-
Type
CodeStarWorker-uni-api-CodePipeline
into the filter box and click CodeStarWorker-uni-api-CodePipeline in the list of role. -
For each of the following attached IAM Managed Policies, Click Detach Policy next to the policy and click Detach in the confirmation dialog box:
- AWSCodePipelineReadOnlyAccess
- AWSLambdaRole
-
In the AWS Management Console, click Services then select IAM under Security, Identity & Compliance.
-
Select Roles from the navigation menu.
-
Type
CodeStarWorker-uni-api-Lambda
into the filter box and click CodeStarWorker-uni-api-Lambda in the list of role. -
For each of the following attached IAM Managed Policies, Click Detach Policy next to the policy and click Detach in the confirmation dialog box:
- AmazonDynamoDBFullAccess
- AWSCodePipelineCustomActionAccess
- AWSCloudFormationReadOnlyAccess
- AWSLambdaRole
- AWSXrayWriteOnlyAccess
-
In the AWS Management Console choose Services then select CodeStar under Developer Tools.
-
Click the ... icon in the
uni-api
project and select Delete. -
Type
uni-api
as the project ID to confirm, Unselect the checkbox to delete the CloudFormation resources, and click the *Delete *button.
-
In the AWS Management Console, click Services then select CloudFormation under Management Tools.
-
Repeat the following steps for each of the following CloudFormation Stacks:
- Seed-1-ServerlessApplicationModel
- Seed-2-ContinuousDelivery
- Seed-3-XRay
- Seed-4-MultipleEnvironments
a. Click the checkbox to the left of the stack
b. Select the Actions dropdown menu above the list of Stacks.
c. Select Delete Stack.
d. Select Yes, Delete.
-
In the AWS Management Console, click Services then select S3 under Storage.
-
Type
uni-api
in the Filter checkbox. -
Click the bucket icon next to the S3 bucket that matches the format:
aws-codestar-{AWS::Region}-{AWS::AccountId}-uni-api-pipe
. -
Click the Delete Bucket button at the top of the Bucket list.
-
Type the name of the bucket to confirm the deletion and click Confirm.