AWS Identity and Access Management
User Guide

Actions, Resources, and Condition Keys for AWS CodeStar

AWS CodeStar (service prefix: codestar) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions Defined by AWS CodeStar

You can specify the following actions in the Action element of an IAM policy statement. By using policies, you define the permissions for anyone performing an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions. For details about the columns in the following table, see The Actions Table.

Actions Description Access Level Resource Types (*required) Condition Keys Dependent Actions
AssociateTeamMember Adds a user to the team for an AWS CodeStar project. Permissions management

project*

CreateProject Creates a project with minimal structure, customer policies, and no resources. Permissions management
CreateUserProfile Creates a profile for a user that includes user preferences, display name, and email. Write
DeleteExtendedAccess [permission only] Grants access to extended delete APIs. Write

project*

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. Permissions management

project*

DeleteUserProfile Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address. It does not delete the history of that user, for example the history of commits made by that user. Write
DescribeProject Describes a project and its resources. Read

project*

DescribeUserProfile Describes a user in AWS CodeStar and the user attributes across all projects. Read
DisassociateTeamMember Removes a user from a project. Removing a user from a project also removes the IAM policies from that user that allowed access to the project and its resources. Permissions management

project*

GetExtendedAccess [permission only] Grants access to extended read APIs. Read

project*

ListProjects Lists all projects in CodeStar associated with your AWS account. List
ListResources Lists all resources associated with a project in CodeStar. List

project*

ListTeamMembers Lists all team members associated with a project. List

project*

ListUserProfiles Lists user profiles in AWS CodeStar. List
PutExtendedAccess [permission only] Grants access to extended write APIs. Write

project*

UpdateProject Updates a project in CodeStar. Write

project*

UpdateTeamMember Updates team member attributes within a CodeStar project. Permissions management

project*

UpdateUserProfile Updates a profile for a user that includes user preferences, display name, and email. Write
VerifyServiceRole Verifies whether the AWS CodeStar service role exists in the customer's account. List

Resources Defined by CodeStar

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see The Resource Types Table.

Resource Types ARN Condition Keys
project arn:${Partition}:codestar:${Region}:${Account}:project/${ProjectId}

Condition Keys for AWS CodeStar

CodeStar has no service-specific context keys that can be used in the Condition element of policy statements. For the list of the global context keys that are available to all services, see Available Keys for Conditions in the IAM Policy Reference.