aws-cdk-lib 2.147.3__py3-none-any.whl → 2.148.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +7 -5
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.147.3.jsii.tgz → aws-cdk-lib@2.148.1.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +1 -1
- aws_cdk/assertions/__init__.py +1 -1
- aws_cdk/aws_accessanalyzer/__init__.py +1 -1
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +1 -1
- aws_cdk/aws_amplify/__init__.py +1 -1
- aws_cdk/aws_amplifyuibuilder/__init__.py +1 -1
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +1 -1
- aws_cdk/aws_appconfig/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +1 -1
- aws_cdk/aws_appintegrations/__init__.py +1 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +1 -1
- aws_cdk/aws_applicationinsights/__init__.py +1 -1
- aws_cdk/aws_applicationsignals/__init__.py +143 -87
- aws_cdk/aws_appmesh/__init__.py +1 -1
- aws_cdk/aws_apprunner/__init__.py +1 -1
- aws_cdk/aws_appstream/__init__.py +1 -1
- aws_cdk/aws_appsync/__init__.py +1 -1
- aws_cdk/aws_apptest/__init__.py +3042 -0
- aws_cdk/aws_aps/__init__.py +1 -1
- aws_cdk/aws_arczonalshift/__init__.py +1 -1
- aws_cdk/aws_athena/__init__.py +1 -1
- aws_cdk/aws_auditmanager/__init__.py +1 -1
- aws_cdk/aws_autoscaling/__init__.py +1 -1
- aws_cdk/aws_autoscaling_common/__init__.py +1 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +1 -1
- aws_cdk/aws_autoscalingplans/__init__.py +1 -1
- aws_cdk/aws_b2bi/__init__.py +1 -1
- aws_cdk/aws_backup/__init__.py +4 -6
- aws_cdk/aws_backupgateway/__init__.py +1 -1
- aws_cdk/aws_batch/__init__.py +1 -216
- aws_cdk/aws_bcmdataexports/__init__.py +1 -1
- aws_cdk/aws_bedrock/__init__.py +178 -1
- aws_cdk/aws_billingconductor/__init__.py +1 -1
- aws_cdk/aws_budgets/__init__.py +1 -1
- aws_cdk/aws_cassandra/__init__.py +1 -1
- aws_cdk/aws_ce/__init__.py +1 -1
- aws_cdk/aws_certificatemanager/__init__.py +1 -1
- aws_cdk/aws_chatbot/__init__.py +1 -1
- aws_cdk/aws_cleanrooms/__init__.py +1 -1
- aws_cdk/aws_cleanroomsml/__init__.py +1 -1
- aws_cdk/aws_cloud9/__init__.py +1 -1
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +1 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +44 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
- aws_cdk/aws_cloudtrail/__init__.py +20 -12
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +1 -1
- aws_cdk/aws_codeartifact/__init__.py +11 -9
- aws_cdk/aws_codebuild/__init__.py +193 -6
- aws_cdk/aws_codecommit/__init__.py +1 -1
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_codedeploy/__init__.py +35 -4
- aws_cdk/aws_codeguruprofiler/__init__.py +1 -1
- aws_cdk/aws_codegurureviewer/__init__.py +1 -1
- aws_cdk/aws_codepipeline/__init__.py +1 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_codestarconnections/__init__.py +1 -1
- aws_cdk/aws_codestarnotifications/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +56 -18
- aws_cdk/aws_comprehend/__init__.py +1 -1
- aws_cdk/aws_config/__init__.py +1 -1
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_connectcampaigns/__init__.py +1 -1
- aws_cdk/aws_controltower/__init__.py +1 -1
- aws_cdk/aws_cur/__init__.py +1 -1
- aws_cdk/aws_customerprofiles/__init__.py +1 -1
- aws_cdk/aws_databrew/__init__.py +1 -1
- aws_cdk/aws_datapipeline/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +12 -12
- aws_cdk/aws_datazone/__init__.py +1 -1
- aws_cdk/aws_dax/__init__.py +1 -1
- aws_cdk/aws_deadline/__init__.py +3 -2
- aws_cdk/aws_detective/__init__.py +1 -1
- aws_cdk/aws_devicefarm/__init__.py +1 -1
- aws_cdk/aws_devopsguru/__init__.py +1 -1
- aws_cdk/aws_directoryservice/__init__.py +1 -1
- aws_cdk/aws_dlm/__init__.py +1 -1
- aws_cdk/aws_dms/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +1 -1
- aws_cdk/aws_docdbelastic/__init__.py +1 -1
- aws_cdk/aws_dynamodb/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +24 -26
- aws_cdk/aws_ecr/__init__.py +1 -1
- aws_cdk/aws_ecr_assets/__init__.py +1 -1
- aws_cdk/aws_ecs/__init__.py +29 -25
- aws_cdk/aws_ecs_patterns/__init__.py +1 -1
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +619 -31
- aws_cdk/aws_elasticache/__init__.py +29 -18
- aws_cdk/aws_elasticbeanstalk/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +1 -1
- aws_cdk/aws_elasticsearch/__init__.py +1 -1
- aws_cdk/aws_emr/__init__.py +1 -1
- aws_cdk/aws_emrcontainers/__init__.py +1 -1
- aws_cdk/aws_emrserverless/__init__.py +34 -7
- aws_cdk/aws_entityresolution/__init__.py +1 -1
- aws_cdk/aws_events/__init__.py +1 -1
- aws_cdk/aws_events_targets/__init__.py +1 -1
- aws_cdk/aws_eventschemas/__init__.py +1 -1
- aws_cdk/aws_evidently/__init__.py +1 -1
- aws_cdk/aws_finspace/__init__.py +1 -1
- aws_cdk/aws_fis/__init__.py +1 -1
- aws_cdk/aws_fms/__init__.py +1 -1
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_frauddetector/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +186 -2
- aws_cdk/aws_gamelift/__init__.py +10 -6
- aws_cdk/aws_globalaccelerator/__init__.py +1 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +18 -14
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_greengrass/__init__.py +1 -1
- aws_cdk/aws_greengrassv2/__init__.py +1 -1
- aws_cdk/aws_groundstation/__init__.py +1 -1
- aws_cdk/aws_guardduty/__init__.py +171 -132
- aws_cdk/aws_healthimaging/__init__.py +1 -1
- aws_cdk/aws_healthlake/__init__.py +1 -1
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_identitystore/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +1 -1
- aws_cdk/aws_inspector/__init__.py +1 -1
- aws_cdk/aws_inspectorv2/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_iot1click/__init__.py +1 -1
- aws_cdk/aws_iotanalytics/__init__.py +1 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +1 -1
- aws_cdk/aws_iotevents/__init__.py +1 -1
- aws_cdk/aws_iotfleethub/__init__.py +1 -1
- aws_cdk/aws_iotfleetwise/__init__.py +1 -1
- aws_cdk/aws_iotsitewise/__init__.py +1 -1
- aws_cdk/aws_iotthingsgraph/__init__.py +1 -1
- aws_cdk/aws_iottwinmaker/__init__.py +1 -1
- aws_cdk/aws_iotwireless/__init__.py +1 -1
- aws_cdk/aws_ivs/__init__.py +1 -1
- aws_cdk/aws_ivschat/__init__.py +1 -1
- aws_cdk/aws_kafkaconnect/__init__.py +1 -1
- aws_cdk/aws_kendra/__init__.py +1 -1
- aws_cdk/aws_kendraranking/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +1 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +93 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +93 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +301 -94
- aws_cdk/aws_kinesisvideo/__init__.py +1 -1
- aws_cdk/aws_kms/__init__.py +16 -15
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +160 -1
- aws_cdk/aws_lambda_destinations/__init__.py +1 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +1 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
- aws_cdk/aws_lex/__init__.py +1 -1
- aws_cdk/aws_licensemanager/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +1 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_logs_destinations/__init__.py +1 -1
- aws_cdk/aws_lookoutequipment/__init__.py +1 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +1 -1
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +1 -1
- aws_cdk/aws_macie/__init__.py +1 -1
- aws_cdk/aws_managedblockchain/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +1 -1
- aws_cdk/aws_mediaconvert/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +1 -1
- aws_cdk/aws_mediapackage/__init__.py +1 -1
- aws_cdk/aws_mediapackagev2/__init__.py +33 -1
- aws_cdk/aws_mediastore/__init__.py +1 -1
- aws_cdk/aws_mediatailor/__init__.py +1 -1
- aws_cdk/aws_memorydb/__init__.py +1 -1
- aws_cdk/aws_msk/__init__.py +1 -1
- aws_cdk/aws_mwaa/__init__.py +1 -1
- aws_cdk/aws_neptune/__init__.py +1 -1
- aws_cdk/aws_neptunegraph/__init__.py +1 -1
- aws_cdk/aws_networkfirewall/__init__.py +1 -1
- aws_cdk/aws_networkmanager/__init__.py +10 -10
- aws_cdk/aws_nimblestudio/__init__.py +1 -1
- aws_cdk/aws_oam/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +2 -2
- aws_cdk/aws_opensearchserverless/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +1 -1
- aws_cdk/aws_opsworks/__init__.py +1 -1
- aws_cdk/aws_opsworkscm/__init__.py +8 -4
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_osis/__init__.py +1 -1
- aws_cdk/aws_panorama/__init__.py +1 -1
- aws_cdk/aws_paymentcryptography/__init__.py +1 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +1 -1
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +1 -1
- aws_cdk/aws_pinpointemail/__init__.py +1 -1
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_proton/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +1 -1
- aws_cdk/aws_qldb/__init__.py +1 -1
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_ram/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +515 -34
- aws_cdk/aws_redshift/__init__.py +10 -10
- aws_cdk/aws_redshiftserverless/__init__.py +1 -1
- aws_cdk/aws_refactorspaces/__init__.py +1 -1
- aws_cdk/aws_rekognition/__init__.py +1 -1
- aws_cdk/aws_resiliencehub/__init__.py +1 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +1 -1
- aws_cdk/aws_resourcegroups/__init__.py +1 -1
- aws_cdk/aws_robomaker/__init__.py +1 -1
- aws_cdk/aws_rolesanywhere/__init__.py +1 -1
- aws_cdk/aws_route53/__init__.py +1 -1
- aws_cdk/aws_route53_patterns/__init__.py +1 -1
- aws_cdk/aws_route53_targets/__init__.py +1 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +1 -1
- aws_cdk/aws_rum/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +30 -6
- aws_cdk/aws_s3_assets/__init__.py +1 -1
- aws_cdk/aws_s3_deployment/__init__.py +1 -1
- aws_cdk/aws_s3_notifications/__init__.py +1 -1
- aws_cdk/aws_s3express/__init__.py +1 -1
- aws_cdk/aws_s3objectlambda/__init__.py +1 -1
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +1 -1
- aws_cdk/aws_sam/__init__.py +1 -1
- aws_cdk/aws_scheduler/__init__.py +1 -1
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +1 -1
- aws_cdk/aws_securityhub/__init__.py +1 -1
- aws_cdk/aws_securitylake/__init__.py +1 -1
- aws_cdk/aws_servicecatalog/__init__.py +1 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +1 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -4
- aws_cdk/aws_ses/__init__.py +86 -1
- aws_cdk/aws_ses_actions/__init__.py +1 -1
- aws_cdk/aws_shield/__init__.py +1 -1
- aws_cdk/aws_signer/__init__.py +42 -1
- aws_cdk/aws_simspaceweaver/__init__.py +1 -1
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_sns_subscriptions/__init__.py +1 -1
- aws_cdk/aws_sqs/__init__.py +7 -9
- aws_cdk/aws_ssm/__init__.py +106 -37
- aws_cdk/aws_ssmcontacts/__init__.py +1 -1
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_sso/__init__.py +1 -1
- aws_cdk/aws_stepfunctions/__init__.py +1 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +793 -152
- aws_cdk/aws_supportapp/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +1 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +1 -1
- aws_cdk/aws_timestream/__init__.py +1 -1
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +602 -9
- aws_cdk/aws_voiceid/__init__.py +1 -1
- aws_cdk/aws_vpclattice/__init__.py +1 -1
- aws_cdk/aws_waf/__init__.py +1 -1
- aws_cdk/aws_wafregional/__init__.py +1 -1
- aws_cdk/aws_wafv2/__init__.py +1 -1
- aws_cdk/aws_wisdom/__init__.py +1 -1
- aws_cdk/aws_workspaces/__init__.py +774 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +1 -1
- aws_cdk/aws_workspacesweb/__init__.py +5 -5
- aws_cdk/aws_xray/__init__.py +1 -1
- aws_cdk/cloud_assembly_schema/__init__.py +1 -1
- aws_cdk/cloudformation_include/__init__.py +1 -1
- aws_cdk/custom_resources/__init__.py +1 -1
- aws_cdk/cx_api/__init__.py +19 -1
- aws_cdk/lambda_layer_awscli/__init__.py +1 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +1 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +1 -1
- aws_cdk/pipelines/__init__.py +2 -2
- aws_cdk/region_info/__init__.py +1 -1
- aws_cdk/triggers/__init__.py +1 -1
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.148.1.dist-info/RECORD +291 -0
- aws_cdk_lib-2.147.3.dist-info/RECORD +0 -290
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS::CodeArtifact Construct Library
|
|
3
3
|
|
|
4
4
|
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
@@ -104,7 +104,7 @@ class CfnDomain(
|
|
|
104
104
|
:param scope: Scope in which this resource is defined.
|
|
105
105
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
106
106
|
:param domain_name: A string that specifies the name of the requested domain.
|
|
107
|
-
:param encryption_key: The
|
|
107
|
+
:param encryption_key: The key used to encrypt the domain.
|
|
108
108
|
:param permissions_policy_document: The document that defines the resource policy that is set on a domain.
|
|
109
109
|
:param tags: A list of tags to be applied to the domain.
|
|
110
110
|
'''
|
|
@@ -214,7 +214,7 @@ class CfnDomain(
|
|
|
214
214
|
@builtins.property
|
|
215
215
|
@jsii.member(jsii_name="encryptionKey")
|
|
216
216
|
def encryption_key(self) -> typing.Optional[builtins.str]:
|
|
217
|
-
'''The
|
|
217
|
+
'''The key used to encrypt the domain.'''
|
|
218
218
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "encryptionKey"))
|
|
219
219
|
|
|
220
220
|
@encryption_key.setter
|
|
@@ -273,7 +273,7 @@ class CfnDomainProps:
|
|
|
273
273
|
'''Properties for defining a ``CfnDomain``.
|
|
274
274
|
|
|
275
275
|
:param domain_name: A string that specifies the name of the requested domain.
|
|
276
|
-
:param encryption_key: The
|
|
276
|
+
:param encryption_key: The key used to encrypt the domain.
|
|
277
277
|
:param permissions_policy_document: The document that defines the resource policy that is set on a domain.
|
|
278
278
|
:param tags: A list of tags to be applied to the domain.
|
|
279
279
|
|
|
@@ -328,7 +328,7 @@ class CfnDomainProps:
|
|
|
328
328
|
|
|
329
329
|
@builtins.property
|
|
330
330
|
def encryption_key(self) -> typing.Optional[builtins.str]:
|
|
331
|
-
'''The
|
|
331
|
+
'''The key used to encrypt the domain.
|
|
332
332
|
|
|
333
333
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-encryptionkey
|
|
334
334
|
'''
|
|
@@ -1122,7 +1122,7 @@ class CfnRepository(
|
|
|
1122
1122
|
:param domain_name: The name of the domain that contains the repository.
|
|
1123
1123
|
:param repository_name: The name of an upstream repository.
|
|
1124
1124
|
:param description: A text description of the repository.
|
|
1125
|
-
:param domain_owner: The 12-digit account
|
|
1125
|
+
:param domain_owner: The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include dashes or spaces.
|
|
1126
1126
|
:param external_connections: An array of external connections associated with the repository. For more information, see `Supported external connection repositories <https://docs.aws.amazon.com/codeartifact/latest/ug/external-connection.html#supported-public-repositories>`_ in the *CodeArtifact user guide* .
|
|
1127
1127
|
:param permissions_policy_document: The document that defines the resource policy that is set on a repository.
|
|
1128
1128
|
:param tags: A list of tags to be applied to the repository.
|
|
@@ -1264,7 +1264,7 @@ class CfnRepository(
|
|
|
1264
1264
|
@builtins.property
|
|
1265
1265
|
@jsii.member(jsii_name="domainOwner")
|
|
1266
1266
|
def domain_owner(self) -> typing.Optional[builtins.str]:
|
|
1267
|
-
'''The 12-digit account
|
|
1267
|
+
'''The 12-digit account number of the AWS account that owns the domain that contains the repository.'''
|
|
1268
1268
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "domainOwner"))
|
|
1269
1269
|
|
|
1270
1270
|
@domain_owner.setter
|
|
@@ -1362,7 +1362,7 @@ class CfnRepositoryProps:
|
|
|
1362
1362
|
:param domain_name: The name of the domain that contains the repository.
|
|
1363
1363
|
:param repository_name: The name of an upstream repository.
|
|
1364
1364
|
:param description: A text description of the repository.
|
|
1365
|
-
:param domain_owner: The 12-digit account
|
|
1365
|
+
:param domain_owner: The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include dashes or spaces.
|
|
1366
1366
|
:param external_connections: An array of external connections associated with the repository. For more information, see `Supported external connection repositories <https://docs.aws.amazon.com/codeartifact/latest/ug/external-connection.html#supported-public-repositories>`_ in the *CodeArtifact user guide* .
|
|
1367
1367
|
:param permissions_policy_document: The document that defines the resource policy that is set on a repository.
|
|
1368
1368
|
:param tags: A list of tags to be applied to the repository.
|
|
@@ -1453,7 +1453,9 @@ class CfnRepositoryProps:
|
|
|
1453
1453
|
|
|
1454
1454
|
@builtins.property
|
|
1455
1455
|
def domain_owner(self) -> typing.Optional[builtins.str]:
|
|
1456
|
-
'''The 12-digit account
|
|
1456
|
+
'''The 12-digit account number of the AWS account that owns the domain that contains the repository.
|
|
1457
|
+
|
|
1458
|
+
It does not include dashes or spaces.
|
|
1457
1459
|
|
|
1458
1460
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-domainowner
|
|
1459
1461
|
'''
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS CodeBuild Construct Library
|
|
3
3
|
|
|
4
4
|
AWS CodeBuild is a fully managed continuous integration service that compiles
|
|
@@ -952,6 +952,23 @@ codebuild.Project(self, "MyProject",
|
|
|
952
952
|
concurrent_build_limit=1
|
|
953
953
|
)
|
|
954
954
|
```
|
|
955
|
+
|
|
956
|
+
## Visibility
|
|
957
|
+
|
|
958
|
+
When you can specify the visibility of the project builds. This setting controls whether the builds are publicly readable or remain private.
|
|
959
|
+
|
|
960
|
+
Visibility options:
|
|
961
|
+
|
|
962
|
+
* `PUBLIC_READ`: The project builds are visible to the public.
|
|
963
|
+
* `PRIVATE`: The project builds are not visible to the public.
|
|
964
|
+
|
|
965
|
+
Examples:
|
|
966
|
+
|
|
967
|
+
```python
|
|
968
|
+
codebuild.Project(self, "MyProject",
|
|
969
|
+
visibility=codebuild.ProjectVisibility.PUBLIC_READ
|
|
970
|
+
)
|
|
971
|
+
```
|
|
955
972
|
'''
|
|
956
973
|
from pkgutil import extend_path
|
|
957
974
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -2829,6 +2846,9 @@ class CfnProject(
|
|
|
2829
2846
|
# the properties below are optional
|
|
2830
2847
|
exclude_matched_pattern=False
|
|
2831
2848
|
)]],
|
|
2849
|
+
scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
|
|
2850
|
+
name="name"
|
|
2851
|
+
),
|
|
2832
2852
|
webhook=False
|
|
2833
2853
|
),
|
|
2834
2854
|
visibility="visibility",
|
|
@@ -4906,6 +4926,7 @@ class CfnProject(
|
|
|
4906
4926
|
name_mapping={
|
|
4907
4927
|
"build_type": "buildType",
|
|
4908
4928
|
"filter_groups": "filterGroups",
|
|
4929
|
+
"scope_configuration": "scopeConfiguration",
|
|
4909
4930
|
"webhook": "webhook",
|
|
4910
4931
|
},
|
|
4911
4932
|
)
|
|
@@ -4915,6 +4936,7 @@ class CfnProject(
|
|
|
4915
4936
|
*,
|
|
4916
4937
|
build_type: typing.Optional[builtins.str] = None,
|
|
4917
4938
|
filter_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnProject.WebhookFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]]]] = None,
|
|
4939
|
+
scope_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnProject.ScopeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4918
4940
|
webhook: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4919
4941
|
) -> None:
|
|
4920
4942
|
'''``ProjectTriggers`` is a property of the `AWS CodeBuild Project <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html>`_ resource that specifies webhooks that trigger an AWS CodeBuild build.
|
|
@@ -4925,6 +4947,7 @@ class CfnProject(
|
|
|
4925
4947
|
|
|
4926
4948
|
:param build_type: Specifies the type of build this webhook will trigger. Allowed values are:. - **BUILD** - A single build - **BUILD_BATCH** - A batch build
|
|
4927
4949
|
:param filter_groups: A list of lists of ``WebhookFilter`` objects used to determine which webhook events are triggered. At least one ``WebhookFilter`` in the array must specify ``EVENT`` as its type.
|
|
4950
|
+
:param scope_configuration:
|
|
4928
4951
|
:param webhook: Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
|
|
4929
4952
|
|
|
4930
4953
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html
|
|
@@ -4945,6 +4968,9 @@ class CfnProject(
|
|
|
4945
4968
|
# the properties below are optional
|
|
4946
4969
|
exclude_matched_pattern=False
|
|
4947
4970
|
)]],
|
|
4971
|
+
scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
|
|
4972
|
+
name="name"
|
|
4973
|
+
),
|
|
4948
4974
|
webhook=False
|
|
4949
4975
|
)
|
|
4950
4976
|
'''
|
|
@@ -4952,12 +4978,15 @@ class CfnProject(
|
|
|
4952
4978
|
type_hints = typing.get_type_hints(_typecheckingstub__d2709928946ab49717544a38f5b4471ef55c9bf0ed8e39f24de9210b8c729a70)
|
|
4953
4979
|
check_type(argname="argument build_type", value=build_type, expected_type=type_hints["build_type"])
|
|
4954
4980
|
check_type(argname="argument filter_groups", value=filter_groups, expected_type=type_hints["filter_groups"])
|
|
4981
|
+
check_type(argname="argument scope_configuration", value=scope_configuration, expected_type=type_hints["scope_configuration"])
|
|
4955
4982
|
check_type(argname="argument webhook", value=webhook, expected_type=type_hints["webhook"])
|
|
4956
4983
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4957
4984
|
if build_type is not None:
|
|
4958
4985
|
self._values["build_type"] = build_type
|
|
4959
4986
|
if filter_groups is not None:
|
|
4960
4987
|
self._values["filter_groups"] = filter_groups
|
|
4988
|
+
if scope_configuration is not None:
|
|
4989
|
+
self._values["scope_configuration"] = scope_configuration
|
|
4961
4990
|
if webhook is not None:
|
|
4962
4991
|
self._values["webhook"] = webhook
|
|
4963
4992
|
|
|
@@ -4986,6 +5015,16 @@ class CfnProject(
|
|
|
4986
5015
|
result = self._values.get("filter_groups")
|
|
4987
5016
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnProject.WebhookFilterProperty"]]]]]], result)
|
|
4988
5017
|
|
|
5018
|
+
@builtins.property
|
|
5019
|
+
def scope_configuration(
|
|
5020
|
+
self,
|
|
5021
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnProject.ScopeConfigurationProperty"]]:
|
|
5022
|
+
'''
|
|
5023
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-scopeconfiguration
|
|
5024
|
+
'''
|
|
5025
|
+
result = self._values.get("scope_configuration")
|
|
5026
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnProject.ScopeConfigurationProperty"]], result)
|
|
5027
|
+
|
|
4989
5028
|
@builtins.property
|
|
4990
5029
|
def webhook(
|
|
4991
5030
|
self,
|
|
@@ -5194,6 +5233,56 @@ class CfnProject(
|
|
|
5194
5233
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
5195
5234
|
)
|
|
5196
5235
|
|
|
5236
|
+
@jsii.data_type(
|
|
5237
|
+
jsii_type="aws-cdk-lib.aws_codebuild.CfnProject.ScopeConfigurationProperty",
|
|
5238
|
+
jsii_struct_bases=[],
|
|
5239
|
+
name_mapping={"name": "name"},
|
|
5240
|
+
)
|
|
5241
|
+
class ScopeConfigurationProperty:
|
|
5242
|
+
def __init__(self, *, name: builtins.str) -> None:
|
|
5243
|
+
'''
|
|
5244
|
+
:param name:
|
|
5245
|
+
|
|
5246
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html
|
|
5247
|
+
:exampleMetadata: fixture=_generated
|
|
5248
|
+
|
|
5249
|
+
Example::
|
|
5250
|
+
|
|
5251
|
+
# The code below shows an example of how to instantiate this type.
|
|
5252
|
+
# The values are placeholders you should change.
|
|
5253
|
+
from aws_cdk import aws_codebuild as codebuild
|
|
5254
|
+
|
|
5255
|
+
scope_configuration_property = codebuild.CfnProject.ScopeConfigurationProperty(
|
|
5256
|
+
name="name"
|
|
5257
|
+
)
|
|
5258
|
+
'''
|
|
5259
|
+
if __debug__:
|
|
5260
|
+
type_hints = typing.get_type_hints(_typecheckingstub__32a108f04a81dd1f44ef69553884cac321bd7631e9997ac93f2e0891bca04d74)
|
|
5261
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
5262
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5263
|
+
"name": name,
|
|
5264
|
+
}
|
|
5265
|
+
|
|
5266
|
+
@builtins.property
|
|
5267
|
+
def name(self) -> builtins.str:
|
|
5268
|
+
'''
|
|
5269
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html#cfn-codebuild-project-scopeconfiguration-name
|
|
5270
|
+
'''
|
|
5271
|
+
result = self._values.get("name")
|
|
5272
|
+
assert result is not None, "Required property 'name' is missing"
|
|
5273
|
+
return typing.cast(builtins.str, result)
|
|
5274
|
+
|
|
5275
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5276
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5277
|
+
|
|
5278
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5279
|
+
return not (rhs == self)
|
|
5280
|
+
|
|
5281
|
+
def __repr__(self) -> str:
|
|
5282
|
+
return "ScopeConfigurationProperty(%s)" % ", ".join(
|
|
5283
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5284
|
+
)
|
|
5285
|
+
|
|
5197
5286
|
@jsii.data_type(
|
|
5198
5287
|
jsii_type="aws-cdk-lib.aws_codebuild.CfnProject.SourceAuthProperty",
|
|
5199
5288
|
jsii_struct_bases=[],
|
|
@@ -5653,7 +5742,7 @@ class CfnProject(
|
|
|
5653
5742
|
The Webhook feature isn't available in AWS CloudFormation for GitHub Enterprise projects. Use the AWS CLI or AWS CodeBuild console to create the webhook.
|
|
5654
5743
|
|
|
5655
5744
|
:param pattern: For a ``WebHookFilter`` that uses ``EVENT`` type, a comma-separated string that specifies one or more events. For example, the webhook filter ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` allows all push, pull request created, and pull request updated events to trigger a build. For a ``WebHookFilter`` that uses any of the other filter types, a regular expression pattern. For example, a ``WebHookFilter`` that uses ``HEAD_REF`` for its ``type`` and the pattern ``^refs/heads/`` triggers a build when the head reference is a branch with a reference name ``refs/heads/branch-name`` .
|
|
5656
|
-
:param type: The type of webhook filter. There are nine webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , ``COMMIT_MESSAGE`` , ``TAG_NAME`` , ``RELEASE_NAME`` , and ``WORKFLOW_NAME`` . - EVENT - A webhook event triggers a build when the provided ``pattern`` matches one of nine event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , ``PULL_REQUEST_MERGED`` , ``RELEASED`` , ``PRERELEASED`` , and ``WORKFLOW_JOB_QUEUED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events. .. epigraph:: Types ``PULL_REQUEST_REOPENED`` and ``WORKFLOW_JOB_QUEUED`` work with GitHub and GitHub Enterprise only. Types ``RELEASED`` and ``PRERELEASED`` work with GitHub only. - ACTOR_ACCOUNT_ID - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` . - HEAD_REF - A webhook event triggers a build when the head reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` and ``refs/tags/tag-name`` . .. epigraph:: Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. - BASE_REF - A webhook event triggers a build when the base reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` . .. epigraph:: Works with pull request events only. - FILE_PATH - A webhook triggers a build when the path of a changed file matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - COMMIT_MESSAGE - A webhook triggers a build when the head commit message matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - TAG_NAME - A webhook triggers a build when the tag name of the release matches the regular expression ``pattern`` . .. epigraph:: Works with ``RELEASED`` and ``PRERELEASED`` events only. - RELEASE_NAME - A webhook triggers a build when the release name matches the regular expression ``pattern`` . .. epigraph:: Works with ``RELEASED`` and ``PRERELEASED`` events only. - WORKFLOW_NAME - A webhook triggers a build when the workflow name matches the regular expression ``pattern`` . .. epigraph:: Works with ``WORKFLOW_JOB_QUEUED`` events only.
|
|
5745
|
+
:param type: The type of webhook filter. There are nine webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , ``COMMIT_MESSAGE`` , ``TAG_NAME`` , ``RELEASE_NAME`` , and ``WORKFLOW_NAME`` . - EVENT - A webhook event triggers a build when the provided ``pattern`` matches one of nine event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , ``PULL_REQUEST_MERGED`` , ``RELEASED`` , ``PRERELEASED`` , and ``WORKFLOW_JOB_QUEUED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events. .. epigraph:: Types ``PULL_REQUEST_REOPENED`` and ``WORKFLOW_JOB_QUEUED`` work with GitHub and GitHub Enterprise only. Types ``RELEASED`` and ``PRERELEASED`` work with GitHub only. - ACTOR_ACCOUNT_ID - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` . - HEAD_REF - A webhook event triggers a build when the head reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` and ``refs/tags/tag-name`` . .. epigraph:: Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. - BASE_REF - A webhook event triggers a build when the base reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` . .. epigraph:: Works with pull request events only. - FILE_PATH - A webhook triggers a build when the path of a changed file matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - COMMIT_MESSAGE - A webhook triggers a build when the head commit message matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - TAG_NAME - A webhook triggers a build when the tag name of the release matches the regular expression ``pattern`` . .. epigraph:: Works with ``RELEASED`` and ``PRERELEASED`` events only. - RELEASE_NAME - A webhook triggers a build when the release name matches the regular expression ``pattern`` . .. epigraph:: Works with ``RELEASED`` and ``PRERELEASED`` events only. - REPOSITORY_NAME - A webhook triggers a build when the repository name matches the regular expression pattern. .. epigraph:: Works with GitHub global or organization webhooks only. - WORKFLOW_NAME - A webhook triggers a build when the workflow name matches the regular expression ``pattern`` . .. epigraph:: Works with ``WORKFLOW_JOB_QUEUED`` events only.
|
|
5657
5746
|
:param exclude_matched_pattern: Used to indicate that the ``pattern`` determines which webhook events do not trigger a build. If true, then a webhook event that does not match the ``pattern`` triggers a build. If false, then a webhook event that matches the ``pattern`` triggers a build.
|
|
5658
5747
|
|
|
5659
5748
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html
|
|
@@ -5756,6 +5845,13 @@ class CfnProject(
|
|
|
5756
5845
|
|
|
5757
5846
|
Works with ``RELEASED`` and ``PRERELEASED`` events only.
|
|
5758
5847
|
|
|
5848
|
+
- REPOSITORY_NAME
|
|
5849
|
+
- A webhook triggers a build when the repository name matches the regular expression pattern.
|
|
5850
|
+
|
|
5851
|
+
.. epigraph::
|
|
5852
|
+
|
|
5853
|
+
Works with GitHub global or organization webhooks only.
|
|
5854
|
+
|
|
5759
5855
|
- WORKFLOW_NAME
|
|
5760
5856
|
- A webhook triggers a build when the workflow name matches the regular expression ``pattern`` .
|
|
5761
5857
|
|
|
@@ -6061,6 +6157,9 @@ class CfnProjectProps:
|
|
|
6061
6157
|
# the properties below are optional
|
|
6062
6158
|
exclude_matched_pattern=False
|
|
6063
6159
|
)]],
|
|
6160
|
+
scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
|
|
6161
|
+
name="name"
|
|
6162
|
+
),
|
|
6064
6163
|
webhook=False
|
|
6065
6164
|
),
|
|
6066
6165
|
visibility="visibility",
|
|
@@ -7438,6 +7537,7 @@ class CloudWatchLoggingOptions:
|
|
|
7438
7537
|
"ssm_session_permissions": "ssmSessionPermissions",
|
|
7439
7538
|
"subnet_selection": "subnetSelection",
|
|
7440
7539
|
"timeout": "timeout",
|
|
7540
|
+
"visibility": "visibility",
|
|
7441
7541
|
"vpc": "vpc",
|
|
7442
7542
|
},
|
|
7443
7543
|
)
|
|
@@ -7465,6 +7565,7 @@ class CommonProjectProps:
|
|
|
7465
7565
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
7466
7566
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
7467
7567
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
7568
|
+
visibility: typing.Optional["ProjectVisibility"] = None,
|
|
7468
7569
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
7469
7570
|
) -> None:
|
|
7470
7571
|
'''
|
|
@@ -7488,6 +7589,7 @@ class CommonProjectProps:
|
|
|
7488
7589
|
:param ssm_session_permissions: Add the permissions necessary for debugging builds with SSM Session Manager. If the following prerequisites have been met: - The necessary permissions have been added by setting this flag to true. - The build image has the SSM agent installed (true for default CodeBuild images). - The build is started with `debugSessionEnabled <https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.html#CodeBuild-StartBuild-request-debugSessionEnabled>`_ set to true. Then the build container can be paused and inspected using Session Manager by invoking the ``codebuild-breakpoint`` command somewhere during the build. ``codebuild-breakpoint`` commands will be ignored if the build is not started with ``debugSessionEnabled=true``. Default: false
|
|
7489
7590
|
:param subnet_selection: Where to place the network interfaces within the VPC. To access AWS services, your CodeBuild project needs to be in one of the following types of subnets: 1. Subnets with access to the internet (of type PRIVATE_WITH_EGRESS). 2. Private subnets unconnected to the internet, but with `VPC endpoints <https://docs.aws.amazon.com/codebuild/latest/userguide/use-vpc-endpoints-with-codebuild.html>`_ for the necessary services. If you don't specify a subnet selection, the default behavior is to use PRIVATE_WITH_EGRESS subnets first if they exist, then PRIVATE_WITHOUT_EGRESS, and finally PUBLIC subnets. If your VPC doesn't have PRIVATE_WITH_EGRESS subnets but you need AWS service access, add VPC Endpoints to your private subnets. Default: - private subnets if available else public subnets
|
|
7490
7591
|
:param timeout: The number of minutes after which AWS CodeBuild stops the build if it's not complete. For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide. Default: Duration.hours(1)
|
|
7592
|
+
:param visibility: Specifies the visibility of the project's builds. Default: - no visibility is set
|
|
7491
7593
|
:param vpc: VPC network to place codebuild network interfaces. Specify this if the codebuild project needs to access resources in a VPC. Default: - No VPC is specified.
|
|
7492
7594
|
|
|
7493
7595
|
:exampleMetadata: fixture=_generated
|
|
@@ -7585,6 +7687,7 @@ class CommonProjectProps:
|
|
|
7585
7687
|
subnet_type=ec2.SubnetType.PRIVATE_ISOLATED
|
|
7586
7688
|
),
|
|
7587
7689
|
timeout=cdk.Duration.minutes(30),
|
|
7690
|
+
visibility=codebuild.ProjectVisibility.PUBLIC_READ,
|
|
7588
7691
|
vpc=vpc
|
|
7589
7692
|
)
|
|
7590
7693
|
'''
|
|
@@ -7616,6 +7719,7 @@ class CommonProjectProps:
|
|
|
7616
7719
|
check_type(argname="argument ssm_session_permissions", value=ssm_session_permissions, expected_type=type_hints["ssm_session_permissions"])
|
|
7617
7720
|
check_type(argname="argument subnet_selection", value=subnet_selection, expected_type=type_hints["subnet_selection"])
|
|
7618
7721
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
7722
|
+
check_type(argname="argument visibility", value=visibility, expected_type=type_hints["visibility"])
|
|
7619
7723
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
7620
7724
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7621
7725
|
if allow_all_outbound is not None:
|
|
@@ -7658,6 +7762,8 @@ class CommonProjectProps:
|
|
|
7658
7762
|
self._values["subnet_selection"] = subnet_selection
|
|
7659
7763
|
if timeout is not None:
|
|
7660
7764
|
self._values["timeout"] = timeout
|
|
7765
|
+
if visibility is not None:
|
|
7766
|
+
self._values["visibility"] = visibility
|
|
7661
7767
|
if vpc is not None:
|
|
7662
7768
|
self._values["vpc"] = vpc
|
|
7663
7769
|
|
|
@@ -7893,7 +7999,7 @@ class CommonProjectProps:
|
|
|
7893
7999
|
|
|
7894
8000
|
:default: - private subnets if available else public subnets
|
|
7895
8001
|
|
|
7896
|
-
:see: https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html
|
|
8002
|
+
:see: https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html
|
|
7897
8003
|
'''
|
|
7898
8004
|
result = self._values.get("subnet_selection")
|
|
7899
8005
|
return typing.cast(typing.Optional[_SubnetSelection_e57d76df], result)
|
|
@@ -7910,6 +8016,15 @@ class CommonProjectProps:
|
|
|
7910
8016
|
result = self._values.get("timeout")
|
|
7911
8017
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
7912
8018
|
|
|
8019
|
+
@builtins.property
|
|
8020
|
+
def visibility(self) -> typing.Optional["ProjectVisibility"]:
|
|
8021
|
+
'''Specifies the visibility of the project's builds.
|
|
8022
|
+
|
|
8023
|
+
:default: - no visibility is set
|
|
8024
|
+
'''
|
|
8025
|
+
result = self._values.get("visibility")
|
|
8026
|
+
return typing.cast(typing.Optional["ProjectVisibility"], result)
|
|
8027
|
+
|
|
7913
8028
|
@builtins.property
|
|
7914
8029
|
def vpc(self) -> typing.Optional[_IVpc_f30d5663]:
|
|
7915
8030
|
'''VPC network to place codebuild network interfaces.
|
|
@@ -11196,7 +11311,7 @@ class LinuxBuildImage(
|
|
|
11196
11311
|
@jsii.python.classproperty
|
|
11197
11312
|
@jsii.member(jsii_name="AMAZON_LINUX_2_ARM_3")
|
|
11198
11313
|
def AMAZON_LINUX_2_ARM_3(cls) -> IBuildImage:
|
|
11199
|
-
'''Image "aws/codebuild/amazonlinux2-aarch64-standard:
|
|
11314
|
+
'''Image "aws/codebuild/amazonlinux2-aarch64-standard:3.0".
|
|
11200
11315
|
|
|
11201
11316
|
:see: {LinuxArmBuildImage.AMAZON_LINUX_2_STANDARD_3_0}
|
|
11202
11317
|
'''
|
|
@@ -11644,6 +11759,7 @@ class PhaseChangeEvent(
|
|
|
11644
11759
|
"ssm_session_permissions": "ssmSessionPermissions",
|
|
11645
11760
|
"subnet_selection": "subnetSelection",
|
|
11646
11761
|
"timeout": "timeout",
|
|
11762
|
+
"visibility": "visibility",
|
|
11647
11763
|
"vpc": "vpc",
|
|
11648
11764
|
},
|
|
11649
11765
|
)
|
|
@@ -11671,6 +11787,7 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
11671
11787
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
11672
11788
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
11673
11789
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
11790
|
+
visibility: typing.Optional["ProjectVisibility"] = None,
|
|
11674
11791
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
11675
11792
|
) -> None:
|
|
11676
11793
|
'''
|
|
@@ -11694,6 +11811,7 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
11694
11811
|
:param ssm_session_permissions: Add the permissions necessary for debugging builds with SSM Session Manager. If the following prerequisites have been met: - The necessary permissions have been added by setting this flag to true. - The build image has the SSM agent installed (true for default CodeBuild images). - The build is started with `debugSessionEnabled <https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.html#CodeBuild-StartBuild-request-debugSessionEnabled>`_ set to true. Then the build container can be paused and inspected using Session Manager by invoking the ``codebuild-breakpoint`` command somewhere during the build. ``codebuild-breakpoint`` commands will be ignored if the build is not started with ``debugSessionEnabled=true``. Default: false
|
|
11695
11812
|
:param subnet_selection: Where to place the network interfaces within the VPC. To access AWS services, your CodeBuild project needs to be in one of the following types of subnets: 1. Subnets with access to the internet (of type PRIVATE_WITH_EGRESS). 2. Private subnets unconnected to the internet, but with `VPC endpoints <https://docs.aws.amazon.com/codebuild/latest/userguide/use-vpc-endpoints-with-codebuild.html>`_ for the necessary services. If you don't specify a subnet selection, the default behavior is to use PRIVATE_WITH_EGRESS subnets first if they exist, then PRIVATE_WITHOUT_EGRESS, and finally PUBLIC subnets. If your VPC doesn't have PRIVATE_WITH_EGRESS subnets but you need AWS service access, add VPC Endpoints to your private subnets. Default: - private subnets if available else public subnets
|
|
11696
11813
|
:param timeout: The number of minutes after which AWS CodeBuild stops the build if it's not complete. For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide. Default: Duration.hours(1)
|
|
11814
|
+
:param visibility: Specifies the visibility of the project's builds. Default: - no visibility is set
|
|
11697
11815
|
:param vpc: VPC network to place codebuild network interfaces. Specify this if the codebuild project needs to access resources in a VPC. Default: - No VPC is specified.
|
|
11698
11816
|
|
|
11699
11817
|
:exampleMetadata: infused
|
|
@@ -11781,6 +11899,7 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
11781
11899
|
check_type(argname="argument ssm_session_permissions", value=ssm_session_permissions, expected_type=type_hints["ssm_session_permissions"])
|
|
11782
11900
|
check_type(argname="argument subnet_selection", value=subnet_selection, expected_type=type_hints["subnet_selection"])
|
|
11783
11901
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
11902
|
+
check_type(argname="argument visibility", value=visibility, expected_type=type_hints["visibility"])
|
|
11784
11903
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
11785
11904
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
11786
11905
|
if allow_all_outbound is not None:
|
|
@@ -11823,6 +11942,8 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
11823
11942
|
self._values["subnet_selection"] = subnet_selection
|
|
11824
11943
|
if timeout is not None:
|
|
11825
11944
|
self._values["timeout"] = timeout
|
|
11945
|
+
if visibility is not None:
|
|
11946
|
+
self._values["visibility"] = visibility
|
|
11826
11947
|
if vpc is not None:
|
|
11827
11948
|
self._values["vpc"] = vpc
|
|
11828
11949
|
|
|
@@ -12058,7 +12179,7 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
12058
12179
|
|
|
12059
12180
|
:default: - private subnets if available else public subnets
|
|
12060
12181
|
|
|
12061
|
-
:see: https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html
|
|
12182
|
+
:see: https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html
|
|
12062
12183
|
'''
|
|
12063
12184
|
result = self._values.get("subnet_selection")
|
|
12064
12185
|
return typing.cast(typing.Optional[_SubnetSelection_e57d76df], result)
|
|
@@ -12075,6 +12196,15 @@ class PipelineProjectProps(CommonProjectProps):
|
|
|
12075
12196
|
result = self._values.get("timeout")
|
|
12076
12197
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
12077
12198
|
|
|
12199
|
+
@builtins.property
|
|
12200
|
+
def visibility(self) -> typing.Optional["ProjectVisibility"]:
|
|
12201
|
+
'''Specifies the visibility of the project's builds.
|
|
12202
|
+
|
|
12203
|
+
:default: - no visibility is set
|
|
12204
|
+
'''
|
|
12205
|
+
result = self._values.get("visibility")
|
|
12206
|
+
return typing.cast(typing.Optional["ProjectVisibility"], result)
|
|
12207
|
+
|
|
12078
12208
|
@builtins.property
|
|
12079
12209
|
def vpc(self) -> typing.Optional[_IVpc_f30d5663]:
|
|
12080
12210
|
'''VPC network to place codebuild network interfaces.
|
|
@@ -12154,6 +12284,7 @@ class Project(
|
|
|
12154
12284
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
12155
12285
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
12156
12286
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
12287
|
+
visibility: typing.Optional["ProjectVisibility"] = None,
|
|
12157
12288
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
12158
12289
|
) -> None:
|
|
12159
12290
|
'''
|
|
@@ -12183,6 +12314,7 @@ class Project(
|
|
|
12183
12314
|
:param ssm_session_permissions: Add the permissions necessary for debugging builds with SSM Session Manager. If the following prerequisites have been met: - The necessary permissions have been added by setting this flag to true. - The build image has the SSM agent installed (true for default CodeBuild images). - The build is started with `debugSessionEnabled <https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.html#CodeBuild-StartBuild-request-debugSessionEnabled>`_ set to true. Then the build container can be paused and inspected using Session Manager by invoking the ``codebuild-breakpoint`` command somewhere during the build. ``codebuild-breakpoint`` commands will be ignored if the build is not started with ``debugSessionEnabled=true``. Default: false
|
|
12184
12315
|
:param subnet_selection: Where to place the network interfaces within the VPC. To access AWS services, your CodeBuild project needs to be in one of the following types of subnets: 1. Subnets with access to the internet (of type PRIVATE_WITH_EGRESS). 2. Private subnets unconnected to the internet, but with `VPC endpoints <https://docs.aws.amazon.com/codebuild/latest/userguide/use-vpc-endpoints-with-codebuild.html>`_ for the necessary services. If you don't specify a subnet selection, the default behavior is to use PRIVATE_WITH_EGRESS subnets first if they exist, then PRIVATE_WITHOUT_EGRESS, and finally PUBLIC subnets. If your VPC doesn't have PRIVATE_WITH_EGRESS subnets but you need AWS service access, add VPC Endpoints to your private subnets. Default: - private subnets if available else public subnets
|
|
12185
12316
|
:param timeout: The number of minutes after which AWS CodeBuild stops the build if it's not complete. For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide. Default: Duration.hours(1)
|
|
12317
|
+
:param visibility: Specifies the visibility of the project's builds. Default: - no visibility is set
|
|
12186
12318
|
:param vpc: VPC network to place codebuild network interfaces. Specify this if the codebuild project needs to access resources in a VPC. Default: - No VPC is specified.
|
|
12187
12319
|
'''
|
|
12188
12320
|
if __debug__:
|
|
@@ -12214,6 +12346,7 @@ class Project(
|
|
|
12214
12346
|
ssm_session_permissions=ssm_session_permissions,
|
|
12215
12347
|
subnet_selection=subnet_selection,
|
|
12216
12348
|
timeout=timeout,
|
|
12349
|
+
visibility=visibility,
|
|
12217
12350
|
vpc=vpc,
|
|
12218
12351
|
)
|
|
12219
12352
|
|
|
@@ -13127,6 +13260,7 @@ class ProjectNotifyOnOptions(_NotificationRuleOptions_dff73281):
|
|
|
13127
13260
|
"ssm_session_permissions": "ssmSessionPermissions",
|
|
13128
13261
|
"subnet_selection": "subnetSelection",
|
|
13129
13262
|
"timeout": "timeout",
|
|
13263
|
+
"visibility": "visibility",
|
|
13130
13264
|
"vpc": "vpc",
|
|
13131
13265
|
"artifacts": "artifacts",
|
|
13132
13266
|
"secondary_artifacts": "secondaryArtifacts",
|
|
@@ -13158,6 +13292,7 @@ class ProjectProps(CommonProjectProps):
|
|
|
13158
13292
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
13159
13293
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
13160
13294
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
13295
|
+
visibility: typing.Optional["ProjectVisibility"] = None,
|
|
13161
13296
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
13162
13297
|
artifacts: typing.Optional[IArtifacts] = None,
|
|
13163
13298
|
secondary_artifacts: typing.Optional[typing.Sequence[IArtifacts]] = None,
|
|
@@ -13185,6 +13320,7 @@ class ProjectProps(CommonProjectProps):
|
|
|
13185
13320
|
:param ssm_session_permissions: Add the permissions necessary for debugging builds with SSM Session Manager. If the following prerequisites have been met: - The necessary permissions have been added by setting this flag to true. - The build image has the SSM agent installed (true for default CodeBuild images). - The build is started with `debugSessionEnabled <https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.html#CodeBuild-StartBuild-request-debugSessionEnabled>`_ set to true. Then the build container can be paused and inspected using Session Manager by invoking the ``codebuild-breakpoint`` command somewhere during the build. ``codebuild-breakpoint`` commands will be ignored if the build is not started with ``debugSessionEnabled=true``. Default: false
|
|
13186
13321
|
:param subnet_selection: Where to place the network interfaces within the VPC. To access AWS services, your CodeBuild project needs to be in one of the following types of subnets: 1. Subnets with access to the internet (of type PRIVATE_WITH_EGRESS). 2. Private subnets unconnected to the internet, but with `VPC endpoints <https://docs.aws.amazon.com/codebuild/latest/userguide/use-vpc-endpoints-with-codebuild.html>`_ for the necessary services. If you don't specify a subnet selection, the default behavior is to use PRIVATE_WITH_EGRESS subnets first if they exist, then PRIVATE_WITHOUT_EGRESS, and finally PUBLIC subnets. If your VPC doesn't have PRIVATE_WITH_EGRESS subnets but you need AWS service access, add VPC Endpoints to your private subnets. Default: - private subnets if available else public subnets
|
|
13187
13322
|
:param timeout: The number of minutes after which AWS CodeBuild stops the build if it's not complete. For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide. Default: Duration.hours(1)
|
|
13323
|
+
:param visibility: Specifies the visibility of the project's builds. Default: - no visibility is set
|
|
13188
13324
|
:param vpc: VPC network to place codebuild network interfaces. Specify this if the codebuild project needs to access resources in a VPC. Default: - No VPC is specified.
|
|
13189
13325
|
:param artifacts: Defines where build artifacts will be stored. Could be: PipelineBuildArtifacts, NoArtifacts and S3Artifacts. Default: NoArtifacts
|
|
13190
13326
|
:param secondary_artifacts: The secondary artifacts for the Project. Can also be added after the Project has been created by using the ``Project#addSecondaryArtifact`` method. Default: - No secondary artifacts.
|
|
@@ -13237,6 +13373,7 @@ class ProjectProps(CommonProjectProps):
|
|
|
13237
13373
|
check_type(argname="argument ssm_session_permissions", value=ssm_session_permissions, expected_type=type_hints["ssm_session_permissions"])
|
|
13238
13374
|
check_type(argname="argument subnet_selection", value=subnet_selection, expected_type=type_hints["subnet_selection"])
|
|
13239
13375
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
13376
|
+
check_type(argname="argument visibility", value=visibility, expected_type=type_hints["visibility"])
|
|
13240
13377
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
13241
13378
|
check_type(argname="argument artifacts", value=artifacts, expected_type=type_hints["artifacts"])
|
|
13242
13379
|
check_type(argname="argument secondary_artifacts", value=secondary_artifacts, expected_type=type_hints["secondary_artifacts"])
|
|
@@ -13283,6 +13420,8 @@ class ProjectProps(CommonProjectProps):
|
|
|
13283
13420
|
self._values["subnet_selection"] = subnet_selection
|
|
13284
13421
|
if timeout is not None:
|
|
13285
13422
|
self._values["timeout"] = timeout
|
|
13423
|
+
if visibility is not None:
|
|
13424
|
+
self._values["visibility"] = visibility
|
|
13286
13425
|
if vpc is not None:
|
|
13287
13426
|
self._values["vpc"] = vpc
|
|
13288
13427
|
if artifacts is not None:
|
|
@@ -13526,7 +13665,7 @@ class ProjectProps(CommonProjectProps):
|
|
|
13526
13665
|
|
|
13527
13666
|
:default: - private subnets if available else public subnets
|
|
13528
13667
|
|
|
13529
|
-
:see: https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html
|
|
13668
|
+
:see: https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html
|
|
13530
13669
|
'''
|
|
13531
13670
|
result = self._values.get("subnet_selection")
|
|
13532
13671
|
return typing.cast(typing.Optional[_SubnetSelection_e57d76df], result)
|
|
@@ -13543,6 +13682,15 @@ class ProjectProps(CommonProjectProps):
|
|
|
13543
13682
|
result = self._values.get("timeout")
|
|
13544
13683
|
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
13545
13684
|
|
|
13685
|
+
@builtins.property
|
|
13686
|
+
def visibility(self) -> typing.Optional["ProjectVisibility"]:
|
|
13687
|
+
'''Specifies the visibility of the project's builds.
|
|
13688
|
+
|
|
13689
|
+
:default: - no visibility is set
|
|
13690
|
+
'''
|
|
13691
|
+
result = self._values.get("visibility")
|
|
13692
|
+
return typing.cast(typing.Optional["ProjectVisibility"], result)
|
|
13693
|
+
|
|
13546
13694
|
@builtins.property
|
|
13547
13695
|
def vpc(self) -> typing.Optional[_IVpc_f30d5663]:
|
|
13548
13696
|
'''VPC network to place codebuild network interfaces.
|
|
@@ -13615,6 +13763,25 @@ class ProjectProps(CommonProjectProps):
|
|
|
13615
13763
|
)
|
|
13616
13764
|
|
|
13617
13765
|
|
|
13766
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_codebuild.ProjectVisibility")
|
|
13767
|
+
class ProjectVisibility(enum.Enum):
|
|
13768
|
+
'''Specifies the visibility of the project's builds.
|
|
13769
|
+
|
|
13770
|
+
:exampleMetadata: infused
|
|
13771
|
+
|
|
13772
|
+
Example::
|
|
13773
|
+
|
|
13774
|
+
codebuild.Project(self, "MyProject",
|
|
13775
|
+
visibility=codebuild.ProjectVisibility.PUBLIC_READ
|
|
13776
|
+
)
|
|
13777
|
+
'''
|
|
13778
|
+
|
|
13779
|
+
PUBLIC_READ = "PUBLIC_READ"
|
|
13780
|
+
'''The project builds are visible to the public.'''
|
|
13781
|
+
PRIVATE = "PRIVATE"
|
|
13782
|
+
'''The project builds are not visible to the public.'''
|
|
13783
|
+
|
|
13784
|
+
|
|
13618
13785
|
@jsii.implements(IReportGroup)
|
|
13619
13786
|
class ReportGroup(
|
|
13620
13787
|
_Resource_45bc6135,
|
|
@@ -14535,6 +14702,9 @@ class SourceConfig:
|
|
|
14535
14702
|
# the properties below are optional
|
|
14536
14703
|
exclude_matched_pattern=False
|
|
14537
14704
|
)]],
|
|
14705
|
+
scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
|
|
14706
|
+
name="name"
|
|
14707
|
+
),
|
|
14538
14708
|
webhook=False
|
|
14539
14709
|
),
|
|
14540
14710
|
source_version="sourceVersion"
|
|
@@ -16594,6 +16764,7 @@ class PipelineProject(
|
|
|
16594
16764
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
16595
16765
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16596
16766
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
16767
|
+
visibility: typing.Optional[ProjectVisibility] = None,
|
|
16597
16768
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16598
16769
|
) -> None:
|
|
16599
16770
|
'''
|
|
@@ -16619,6 +16790,7 @@ class PipelineProject(
|
|
|
16619
16790
|
:param ssm_session_permissions: Add the permissions necessary for debugging builds with SSM Session Manager. If the following prerequisites have been met: - The necessary permissions have been added by setting this flag to true. - The build image has the SSM agent installed (true for default CodeBuild images). - The build is started with `debugSessionEnabled <https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.html#CodeBuild-StartBuild-request-debugSessionEnabled>`_ set to true. Then the build container can be paused and inspected using Session Manager by invoking the ``codebuild-breakpoint`` command somewhere during the build. ``codebuild-breakpoint`` commands will be ignored if the build is not started with ``debugSessionEnabled=true``. Default: false
|
|
16620
16791
|
:param subnet_selection: Where to place the network interfaces within the VPC. To access AWS services, your CodeBuild project needs to be in one of the following types of subnets: 1. Subnets with access to the internet (of type PRIVATE_WITH_EGRESS). 2. Private subnets unconnected to the internet, but with `VPC endpoints <https://docs.aws.amazon.com/codebuild/latest/userguide/use-vpc-endpoints-with-codebuild.html>`_ for the necessary services. If you don't specify a subnet selection, the default behavior is to use PRIVATE_WITH_EGRESS subnets first if they exist, then PRIVATE_WITHOUT_EGRESS, and finally PUBLIC subnets. If your VPC doesn't have PRIVATE_WITH_EGRESS subnets but you need AWS service access, add VPC Endpoints to your private subnets. Default: - private subnets if available else public subnets
|
|
16621
16792
|
:param timeout: The number of minutes after which AWS CodeBuild stops the build if it's not complete. For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide. Default: Duration.hours(1)
|
|
16793
|
+
:param visibility: Specifies the visibility of the project's builds. Default: - no visibility is set
|
|
16622
16794
|
:param vpc: VPC network to place codebuild network interfaces. Specify this if the codebuild project needs to access resources in a VPC. Default: - No VPC is specified.
|
|
16623
16795
|
'''
|
|
16624
16796
|
if __debug__:
|
|
@@ -16646,6 +16818,7 @@ class PipelineProject(
|
|
|
16646
16818
|
ssm_session_permissions=ssm_session_permissions,
|
|
16647
16819
|
subnet_selection=subnet_selection,
|
|
16648
16820
|
timeout=timeout,
|
|
16821
|
+
visibility=visibility,
|
|
16649
16822
|
vpc=vpc,
|
|
16650
16823
|
)
|
|
16651
16824
|
|
|
@@ -16817,6 +16990,7 @@ __all__ = [
|
|
|
16817
16990
|
"ProjectNotificationEvents",
|
|
16818
16991
|
"ProjectNotifyOnOptions",
|
|
16819
16992
|
"ProjectProps",
|
|
16993
|
+
"ProjectVisibility",
|
|
16820
16994
|
"ReportGroup",
|
|
16821
16995
|
"ReportGroupProps",
|
|
16822
16996
|
"ReportGroupType",
|
|
@@ -17376,6 +17550,7 @@ def _typecheckingstub__d2709928946ab49717544a38f5b4471ef55c9bf0ed8e39f24de9210b8
|
|
|
17376
17550
|
*,
|
|
17377
17551
|
build_type: typing.Optional[builtins.str] = None,
|
|
17378
17552
|
filter_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.WebhookFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]]]] = None,
|
|
17553
|
+
scope_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.ScopeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17379
17554
|
webhook: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
17380
17555
|
) -> None:
|
|
17381
17556
|
"""Type checking stubs"""
|
|
@@ -17398,6 +17573,13 @@ def _typecheckingstub__339e3977bff464cdbd76e63b42bfebb18a64e99f952fa16884abebf8e
|
|
|
17398
17573
|
"""Type checking stubs"""
|
|
17399
17574
|
pass
|
|
17400
17575
|
|
|
17576
|
+
def _typecheckingstub__32a108f04a81dd1f44ef69553884cac321bd7631e9997ac93f2e0891bca04d74(
|
|
17577
|
+
*,
|
|
17578
|
+
name: builtins.str,
|
|
17579
|
+
) -> None:
|
|
17580
|
+
"""Type checking stubs"""
|
|
17581
|
+
pass
|
|
17582
|
+
|
|
17401
17583
|
def _typecheckingstub__a37ee10766869fc2953074d8f15f2cd5d5621a31e8f93f638987dfd92e7c5f37(
|
|
17402
17584
|
*,
|
|
17403
17585
|
type: builtins.str,
|
|
@@ -17645,6 +17827,7 @@ def _typecheckingstub__45bdedf6c9b38dcb0797768fa0fdec382e282ebd8679405f7dd9df6cb
|
|
|
17645
17827
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
17646
17828
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17647
17829
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
17830
|
+
visibility: typing.Optional[ProjectVisibility] = None,
|
|
17648
17831
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
17649
17832
|
) -> None:
|
|
17650
17833
|
"""Type checking stubs"""
|
|
@@ -18100,6 +18283,7 @@ def _typecheckingstub__cad18ebbb1c05a6adb06360d9baca4a0658b2f85c2078bc257ed8d4f8
|
|
|
18100
18283
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
18101
18284
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18102
18285
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
18286
|
+
visibility: typing.Optional[ProjectVisibility] = None,
|
|
18103
18287
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
18104
18288
|
) -> None:
|
|
18105
18289
|
"""Type checking stubs"""
|
|
@@ -18133,6 +18317,7 @@ def _typecheckingstub__98b7b3a6b3dbe1931f04b0f953f1ae252e81da8d9335e78d6f3748d71
|
|
|
18133
18317
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
18134
18318
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18135
18319
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
18320
|
+
visibility: typing.Optional[ProjectVisibility] = None,
|
|
18136
18321
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
18137
18322
|
) -> None:
|
|
18138
18323
|
"""Type checking stubs"""
|
|
@@ -18353,6 +18538,7 @@ def _typecheckingstub__98a249849c6dd1146c8e8d845c1f535b7a85df68782d9f343764b4470
|
|
|
18353
18538
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
18354
18539
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18355
18540
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
18541
|
+
visibility: typing.Optional[ProjectVisibility] = None,
|
|
18356
18542
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
18357
18543
|
artifacts: typing.Optional[IArtifacts] = None,
|
|
18358
18544
|
secondary_artifacts: typing.Optional[typing.Sequence[IArtifacts]] = None,
|
|
@@ -18648,6 +18834,7 @@ def _typecheckingstub__cb5f1bed2a9bb9c41d6f93b4b1a4c9ce7347295312e04439f922446ae
|
|
|
18648
18834
|
ssm_session_permissions: typing.Optional[builtins.bool] = None,
|
|
18649
18835
|
subnet_selection: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18650
18836
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
18837
|
+
visibility: typing.Optional[ProjectVisibility] = None,
|
|
18651
18838
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
18652
18839
|
) -> None:
|
|
18653
18840
|
"""Type checking stubs"""
|