UNPKG

iam-floyd

Version:

AWS IAM policy statement generator with fluent interface

975 lines 98 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Codebuild = void 0; const shared_1 = require("../../shared"); /** * Statement provider for service [codebuild](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awscodebuild.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ class Codebuild extends shared_1.PolicyStatement { /** * Statement provider for service [codebuild](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awscodebuild.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ constructor(sid) { super(sid); this.servicePrefix = 'codebuild'; this.accessLevelList = { Write: [ 'BatchDeleteBuilds', 'BatchPutCodeCoverages', 'BatchPutTestCases', 'CreateFleet', 'CreateProject', 'CreateReport', 'CreateReportGroup', 'CreateWebhook', 'DeleteBuildBatch', 'DeleteFleet', 'DeleteOAuthToken', 'DeleteProject', 'DeleteReport', 'DeleteReportGroup', 'DeleteSourceCredentials', 'DeleteWebhook', 'ImportSourceCredentials', 'InvalidateProjectCache', 'PersistOAuthToken', 'RetryBuild', 'RetryBuildBatch', 'StartBuild', 'StartBuildBatch', 'StartCommandExecution', 'StartSandbox', 'StartSandboxConnection', 'StopBuild', 'StopBuildBatch', 'StopSandbox', 'UpdateFleet', 'UpdateProject', 'UpdateProjectVisibility', 'UpdateReport', 'UpdateReportGroup', 'UpdateWebhook' ], Read: [ 'BatchGetBuildBatches', 'BatchGetBuilds', 'BatchGetCommandExecutions', 'BatchGetFleets', 'BatchGetProjects', 'BatchGetReportGroups', 'BatchGetReports', 'BatchGetSandboxes', 'DescribeCodeCoverages', 'DescribeTestCases', 'GetReportGroupTrend', 'GetResourcePolicy' ], 'Permissions management': [ 'DeleteResourcePolicy', 'PutResourcePolicy' ], List: [ 'ListBuildBatches', 'ListBuildBatchesForProject', 'ListBuilds', 'ListBuildsForProject', 'ListCommandExecutionsForSandbox', 'ListConnectedOAuthAccounts', 'ListCuratedEnvironmentImages', 'ListFleets', 'ListProjects', 'ListReportGroups', 'ListReports', 'ListReportsForReportGroup', 'ListRepositories', 'ListSandboxes', 'ListSandboxesForProject', 'ListSharedProjects', 'ListSharedReportGroups', 'ListSourceCredentials' ] }; } /** * Grants permission to delete one or more builds * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchDeleteBuilds.html */ toBatchDeleteBuilds() { return this.to('BatchDeleteBuilds'); } /** * Grants permission to get information about one or more build batches * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetBuildBatches.html */ toBatchGetBuildBatches() { return this.to('BatchGetBuildBatches'); } /** * Grants permission to get information about one or more builds * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetBuilds.html */ toBatchGetBuilds() { return this.to('BatchGetBuilds'); } /** * Grants permission to get information about one or more command executions * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetCommandExecutions.html */ toBatchGetCommandExecutions() { return this.to('BatchGetCommandExecutions'); } /** * Grants permission to return an array of the Fleet objects specified by the input parameter * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetFleets.html */ toBatchGetFleets() { return this.to('BatchGetFleets'); } /** * Grants permission to get information about one or more build projects * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetProjects.html */ toBatchGetProjects() { return this.to('BatchGetProjects'); } /** * Grants permission to return an array of ReportGroup objects that are specified by the input reportGroupArns parameter * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetReportGroups.html */ toBatchGetReportGroups() { return this.to('BatchGetReportGroups'); } /** * Grants permission to return an array of the Report objects specified by the input reportArns parameter * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetReports.html */ toBatchGetReports() { return this.to('BatchGetReports'); } /** * Grants permission to get information about one or more sandboxes * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetSandboxes.html */ toBatchGetSandboxes() { return this.to('BatchGetSandboxes'); } /** * Grants permission to add or update information about a report * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#console-policies */ toBatchPutCodeCoverages() { return this.to('BatchPutCodeCoverages'); } /** * Grants permission to add or update information about a report * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#console-policies */ toBatchPutTestCases() { return this.to('BatchPutTestCases'); } /** * Grants permission to create a compute fleet * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CreateFleet.html */ toCreateFleet() { return this.to('CreateFleet'); } /** * Grants permission to create a build project * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CreateProject.html */ toCreateProject() { return this.to('CreateProject'); } /** * Grants permission to create a report. A report is created when tests specified in the buildspec file for a report groups run during the build of a project * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#console-policies */ toCreateReport() { return this.to('CreateReport'); } /** * Grants permission to create a report group * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CreateReportGroup.html */ toCreateReportGroup() { return this.to('CreateReportGroup'); } /** * Grants permission to create webhook. For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to start rebuilding the source code every time a code change is pushed to the repository * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_CreateWebhook.html */ toCreateWebhook() { return this.to('CreateWebhook'); } /** * Grants permission to delete a build batch * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteBuildBatch.html */ toDeleteBuildBatch() { return this.to('DeleteBuildBatch'); } /** * Grants permission to delete a compute fleet * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteFleet.html */ toDeleteFleet() { return this.to('DeleteFleet'); } /** * Grants permission to delete an OAuth token from a connected third-party OAuth provider. Only used in the AWS CodeBuild console * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#console-policies */ toDeleteOAuthToken() { return this.to('DeleteOAuthToken'); } /** * Grants permission to delete a build project * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteProject.html */ toDeleteProject() { return this.to('DeleteProject'); } /** * Grants permission to delete a report * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html */ toDeleteReport() { return this.to('DeleteReport'); } /** * Grants permission to delete a report group * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReportGroup.html */ toDeleteReportGroup() { return this.to('DeleteReportGroup'); } /** * Grants permission to delete a resource policy for the associated project or report group * * Access Level: Permissions management * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteResourcePolicy.html */ toDeleteResourcePolicy() { return this.to('DeleteResourcePolicy'); } /** * Grants permission to delete a set of GitHub, GitHub Enterprise, or Bitbucket source credentials * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteSourceCredentials.html */ toDeleteSourceCredentials() { return this.to('DeleteSourceCredentials'); } /** * Grants permission to delete webhook. For an existing AWS CodeBuild build project that has its source code stored in a GitHub or Bitbucket repository, stops AWS CodeBuild from rebuilding the source code every time a code change is pushed to the repository * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteWebhook.html */ toDeleteWebhook() { return this.to('DeleteWebhook'); } /** * Grants permission to return an array of CodeCoverage objects * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DescribeCodeCoverages.html */ toDescribeCodeCoverages() { return this.to('DescribeCodeCoverages'); } /** * Grants permission to return an array of TestCase objects * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DescribeTestCases.html */ toDescribeTestCases() { return this.to('DescribeTestCases'); } /** * Grants permission to analyze and accumulate test report values for the test reports in the specified report group * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_GetReportGroupTrend.html */ toGetReportGroupTrend() { return this.to('GetReportGroupTrend'); } /** * Grants permission to return a resource policy for the specified project or report group * * Access Level: Read * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_GetResourcePolicy.html */ toGetResourcePolicy() { return this.to('GetResourcePolicy'); } /** * Grants permission to import the source repository credentials for an AWS CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ImportSourceCredentials.html */ toImportSourceCredentials() { return this.to('ImportSourceCredentials'); } /** * Grants permission to reset the cache for a project * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_InvalidateProjectCache.html */ toInvalidateProjectCache() { return this.to('InvalidateProjectCache'); } /** * Grants permission to get a list of build batch IDs, with each build batch ID representing a single build batch * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListBuildBatches.html */ toListBuildBatches() { return this.to('ListBuildBatches'); } /** * Grants permission to get a list of build batch IDs for the specified build project, with each build batch ID representing a single build batch * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListBuildBatchesForProject.html */ toListBuildBatchesForProject() { return this.to('ListBuildBatchesForProject'); } /** * Grants permission to get a list of build IDs, with each build ID representing a single build * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListBuilds.html */ toListBuilds() { return this.to('ListBuilds'); } /** * Grants permission to get a list of build IDs for the specified build project, with each build ID representing a single build * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListBuildsForProject.html */ toListBuildsForProject() { return this.to('ListBuildsForProject'); } /** * Grants permission to get a list of command execution IDs for the specified sandbox, with each command execution ID representing a single command execution * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListCommandExecutionsForSandbox.html */ toListCommandExecutionsForSandbox() { return this.to('ListCommandExecutionsForSandbox'); } /** * Grants permission to list connected third-party OAuth providers. Only used in the AWS CodeBuild console * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#console-policies */ toListConnectedOAuthAccounts() { return this.to('ListConnectedOAuthAccounts'); } /** * Grants permission to get information about Docker images that are managed by AWS CodeBuild * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListCuratedEnvironmentImages.html */ toListCuratedEnvironmentImages() { return this.to('ListCuratedEnvironmentImages'); } /** * Grants permission to get a list of compute fleet ARNs, with each compute fleet ARN representing a single fleet * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListFleets.html */ toListFleets() { return this.to('ListFleets'); } /** * Grants permission to get a list of build project names, with each build project name representing a single build project * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListProjects.html */ toListProjects() { return this.to('ListProjects'); } /** * Grants permission to return a list of report group ARNs. Each report group ARN represents one report group * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportGroups.html */ toListReportGroups() { return this.to('ListReportGroups'); } /** * Grants permission to return a list of report ARNs. Each report ARN representing one report * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReports.html */ toListReports() { return this.to('ListReports'); } /** * Grants permission to return a list of report ARNs that belong to the specified report group. Each report ARN represents one report * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html */ toListReportsForReportGroup() { return this.to('ListReportsForReportGroup'); } /** * Grants permission to list source code repositories from a connected third-party OAuth provider. Only used in the AWS CodeBuild console * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#console-policies */ toListRepositories() { return this.to('ListRepositories'); } /** * Grants permission to get a list of sandbox IDs, with each sandbox ID representing a single sandbox * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSandboxes.html */ toListSandboxes() { return this.to('ListSandboxes'); } /** * Grants permission to get a list of sandbox IDs for the specified sandbox project, with each sandbox ID representing a single sandbox * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSandboxesForProject.html */ toListSandboxesForProject() { return this.to('ListSandboxesForProject'); } /** * Grants permission to return a list of project ARNs that have been shared with the requester. Each project ARN represents one project * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSharedProjects.html */ toListSharedProjects() { return this.to('ListSharedProjects'); } /** * Grants permission to return a list of report group ARNs that have been shared with the requester. Each report group ARN represents one report group * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSharedReportGroups.html */ toListSharedReportGroups() { return this.to('ListSharedReportGroups'); } /** * Grants permission to return a list of SourceCredentialsInfo objects * * Access Level: List * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListSourceCredentials.html */ toListSourceCredentials() { return this.to('ListSourceCredentials'); } /** * Grants permission to save an OAuth token from a connected third-party OAuth provider. Only used in the AWS CodeBuild console * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#console-policies */ toPersistOAuthToken() { return this.to('PersistOAuthToken'); } /** * Grants permission to create a resource policy for the associated project or report group * * Access Level: Permissions management * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_PutResourcePolicy.html */ toPutResourcePolicy() { return this.to('PutResourcePolicy'); } /** * Grants permission to retry a build * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_RetryBuild.html */ toRetryBuild() { return this.to('RetryBuild'); } /** * Grants permission to retry a build batch * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_RetryBuildBatch.html */ toRetryBuildBatch() { return this.to('RetryBuildBatch'); } /** * Grants permission to start running a build * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.html */ toStartBuild() { return this.to('StartBuild'); } /** * Grants permission to start running a build batch * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuildBatch.html */ toStartBuildBatch() { return this.to('StartBuildBatch'); } /** * Grants permission to start running a command execution * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartCommandExecution.html */ toStartCommandExecution() { return this.to('StartCommandExecution'); } /** * Grants permission to start running a sandbox * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartSandbox.html */ toStartSandbox() { return this.to('StartSandbox'); } /** * Grants permission to establish a connection to the sandbox * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartSandboxConnection.html */ toStartSandboxConnection() { return this.to('StartSandboxConnection'); } /** * Grants permission to attempt to stop running a build * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StopBuild.html */ toStopBuild() { return this.to('StopBuild'); } /** * Grants permission to attempt to stop running a build batch * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StopBuildBatch.html */ toStopBuildBatch() { return this.to('StopBuildBatch'); } /** * Grants permission to attempt to stop running a sandbox * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StopSandbox.html */ toStopSandbox() { return this.to('StopSandbox'); } /** * Grants permission to change the settings of an existing compute fleet * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateFleet.html */ toUpdateFleet() { return this.to('UpdateFleet'); } /** * Grants permission to change the settings of an existing build project * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateProject.html */ toUpdateProject() { return this.to('UpdateProject'); } /** * Grants permission to change the public visibility of a project and its builds * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateProjectVisibility.html */ toUpdateProjectVisibility() { return this.to('UpdateProjectVisibility'); } /** * Grants permission to update information about a report * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#console-policies */ toUpdateReport() { return this.to('UpdateReport'); } /** * Grants permission to change the settings of an existing report group * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateReportGroup.html */ toUpdateReportGroup() { return this.to('UpdateReportGroup'); } /** * Grants permission to update the webhook associated with an AWS CodeBuild build project * * Access Level: Write * * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateWebhook.html */ toUpdateWebhook() { return this.to('UpdateWebhook'); } /** * Adds a resource of type build to the statement * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats * * @param buildId - Identifier for the buildId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. */ onBuild(buildId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:codebuild:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:build/${buildId}`); } /** * Adds a resource of type build-batch to the statement * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats * * @param buildBatchId - Identifier for the buildBatchId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. */ onBuildBatch(buildBatchId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:codebuild:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:build-batch/${buildBatchId}`); } /** * Adds a resource of type project to the statement * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats * * @param projectName - Identifier for the projectName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onProject(projectName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:codebuild:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:project/${projectName}`); } /** * Adds a resource of type report-group to the statement * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats * * @param reportGroupName - Identifier for the reportGroupName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onReportGroup(reportGroupName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:codebuild:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:report-group/${reportGroupName}`); } /** * Adds a resource of type report to the statement * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats * * @param reportGroupName - Identifier for the reportGroupName. * @param reportId - Identifier for the reportId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. */ onReport(reportGroupName, reportId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:codebuild:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:report/${reportGroupName}:${reportId}`); } /** * Adds a resource of type fleet to the statement * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats * * @param fleetName - Identifier for the fleetName. * @param fleetId - Identifier for the fleetId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. */ onFleet(fleetName, fleetId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:codebuild:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:fleet/${fleetName}:${fleetId}`); } /** * Adds a resource of type sandbox to the statement * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats * * @param sandboxId - Identifier for the sandboxId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. */ onSandbox(sandboxId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:codebuild:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:sandbox/${sandboxId}`); } /** * Filters access by actions based on the presence of tag key-value pairs in the request * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag * * Applies to actions: * - .toCreateFleet() * - .toCreateProject() * - .toCreateReportGroup() * - .toUpdateFleet() * - .toUpdateProject() * - .toUpdateProjectVisibility() * - .toUpdateReportGroup() * * @param tagKey The tag key to check * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsRequestTag(tagKey, value, operator) { return this.if(`aws:RequestTag/${tagKey}`, value, operator ?? 'StringLike'); } /** * Filters access by actions based on tag key-value pairs attached to the resource * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag * * Applies to resource types: * - project * - report-group * * @param tagKey The tag key to check * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsResourceTag(tagKey, value, operator) { return this.if(`aws:ResourceTag/${tagKey}`, value, operator ?? 'StringLike'); } /** * Filters access by actions based on the presence of tag keys in the request * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys * * Applies to actions: * - .toCreateFleet() * - .toCreateProject() * - .toCreateReportGroup() * - .toUpdateFleet() * - .toUpdateProject() * - .toUpdateProjectVisibility() * - .toUpdateReportGroup() * * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsTagKeys(value, operator) { return this.if(`aws:TagKeys`, value, operator ?? 'StringLike'); } /** * Filters access by the ARN of the AWS CodeBuild build from which the request originated * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-permissions-reference.html * * @param value The value(s) to check * @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike` */ ifBuildArn(value, operator) { return this.if(`buildArn`, value, operator ?? 'ArnLike'); } /** * Filters access by the ARN of the AWS CodeBuild project from which the request originated * * https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-permissions-reference.html * * @param value The value(s) to check * @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike` */ ifProjectArn(value, operator) { return this.if(`projectArn`, value, operator ?? 'ArnLike'); } } exports.Codebuild = Codebuild; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZWJ1aWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29kZWJ1aWxkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLHlDQUF5RDtBQUV6RDs7OztHQUlHO0FBQ0gsTUFBYSxTQUFVLFNBQVEsd0JBQWU7SUFHNUM7Ozs7T0FJRztJQUNILFlBQVksR0FBWTtRQUN0QixLQUFLLENBQUMsR0FBRyxDQUFDLENBQUM7UUFSTixrQkFBYSxHQUFHLFdBQVcsQ0FBQztRQXd3QnpCLG9CQUFlLEdBQW9CO1lBQzNDLEtBQUssRUFBRTtnQkFDTCxtQkFBbUI7Z0JBQ25CLHVCQUF1QjtnQkFDdkIsbUJBQW1CO2dCQUNuQixhQUFhO2dCQUNiLGVBQWU7Z0JBQ2YsY0FBYztnQkFDZCxtQkFBbUI7Z0JBQ25CLGVBQWU7Z0JBQ2Ysa0JBQWtCO2dCQUNsQixhQUFhO2dCQUNiLGtCQUFrQjtnQkFDbEIsZUFBZTtnQkFDZixjQUFjO2dCQUNkLG1CQUFtQjtnQkFDbkIseUJBQXlCO2dCQUN6QixlQUFlO2dCQUNmLHlCQUF5QjtnQkFDekIsd0JBQXdCO2dCQUN4QixtQkFBbUI7Z0JBQ25CLFlBQVk7Z0JBQ1osaUJBQWlCO2dCQUNqQixZQUFZO2dCQUNaLGlC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