aws-cdk-lib 2.164.0__py3-none-any.whl → 2.165.0__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.

Files changed (30) hide show
  1. aws_cdk/__init__.py +20 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.164.0.jsii.tgz → aws-cdk-lib@2.165.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_appsync/__init__.py +24 -18
  5. aws_cdk/aws_autoscaling/__init__.py +145 -8
  6. aws_cdk/aws_backup/__init__.py +598 -0
  7. aws_cdk/aws_bedrock/__init__.py +8 -8
  8. aws_cdk/aws_codebuild/__init__.py +88 -33
  9. aws_cdk/aws_cognito/__init__.py +657 -95
  10. aws_cdk/aws_ec2/__init__.py +122 -32
  11. aws_cdk/aws_eks/__init__.py +10 -12
  12. aws_cdk/aws_elasticache/__init__.py +47 -6
  13. aws_cdk/aws_imagebuilder/__init__.py +183 -0
  14. aws_cdk/aws_iot/__init__.py +37 -43
  15. aws_cdk/aws_iotwireless/__init__.py +2 -2
  16. aws_cdk/aws_memorydb/__init__.py +41 -0
  17. aws_cdk/aws_qbusiness/__init__.py +21 -14
  18. aws_cdk/aws_rds/__init__.py +122 -32
  19. aws_cdk/aws_redshift/__init__.py +23 -23
  20. aws_cdk/aws_refactorspaces/__init__.py +56 -61
  21. aws_cdk/aws_resiliencehub/__init__.py +4 -4
  22. aws_cdk/aws_route53/__init__.py +3 -1
  23. aws_cdk/aws_sagemaker/__init__.py +69 -0
  24. aws_cdk/aws_sqs/__init__.py +9 -12
  25. {aws_cdk_lib-2.164.0.dist-info → aws_cdk_lib-2.165.0.dist-info}/METADATA +6 -6
  26. {aws_cdk_lib-2.164.0.dist-info → aws_cdk_lib-2.165.0.dist-info}/RECORD +30 -30
  27. {aws_cdk_lib-2.164.0.dist-info → aws_cdk_lib-2.165.0.dist-info}/LICENSE +0 -0
  28. {aws_cdk_lib-2.164.0.dist-info → aws_cdk_lib-2.165.0.dist-info}/NOTICE +0 -0
  29. {aws_cdk_lib-2.164.0.dist-info → aws_cdk_lib-2.165.0.dist-info}/WHEEL +0 -0
  30. {aws_cdk_lib-2.164.0.dist-info → aws_cdk_lib-2.165.0.dist-info}/top_level.txt +0 -0
@@ -9486,7 +9486,7 @@ class CfnFlow(
9486
9486
  :param max_tokens: The maximum number of tokens to return in the response.
9487
9487
  :param stop_sequences: A list of strings that define sequences after which the model will stop generating.
9488
9488
  :param temperature: Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
9489
- :param top_k: The number of most-likely candidates that the model considers for the next token during generation.
9489
+ :param top_k: Sample from the k most likely next tokens.
9490
9490
  :param top_p: The percentage of most-likely candidates that the model considers for the next token.
9491
9491
 
9492
9492
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptmodelinferenceconfiguration.html
@@ -9556,7 +9556,7 @@ class CfnFlow(
9556
9556
 
9557
9557
  @builtins.property
9558
9558
  def top_k(self) -> typing.Optional[jsii.Number]:
9559
- '''The number of most-likely candidates that the model considers for the next token during generation.
9559
+ '''Sample from the k most likely next tokens.
9560
9560
 
9561
9561
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptmodelinferenceconfiguration.html#cfn-bedrock-flow-promptmodelinferenceconfiguration-topk
9562
9562
  '''
@@ -13281,7 +13281,7 @@ class CfnFlowVersion(
13281
13281
  :param max_tokens: The maximum number of tokens to return in the response.
13282
13282
  :param stop_sequences: A list of strings that define sequences after which the model will stop generating.
13283
13283
  :param temperature: Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
13284
- :param top_k: The number of most-likely candidates that the model considers for the next token during generation.
13284
+ :param top_k: Sample from the k most likely next tokens.
13285
13285
  :param top_p: The percentage of most-likely candidates that the model considers for the next token.
13286
13286
 
13287
13287
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html
@@ -13351,7 +13351,7 @@ class CfnFlowVersion(
13351
13351
 
13352
13352
  @builtins.property
13353
13353
  def top_k(self) -> typing.Optional[jsii.Number]:
13354
- '''The number of most-likely candidates that the model considers for the next token during generation.
13354
+ '''Sample from the k most likely next tokens.
13355
13355
 
13356
13356
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptmodelinferenceconfiguration.html#cfn-bedrock-flowversion-promptmodelinferenceconfiguration-topk
13357
13357
  '''
@@ -17908,7 +17908,7 @@ class CfnPrompt(
17908
17908
  :param max_tokens: The maximum number of tokens to return in the response.
17909
17909
  :param stop_sequences: A list of strings that define sequences after which the model will stop generating.
17910
17910
  :param temperature: Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
17911
- :param top_k: The number of most-likely candidates that the model considers for the next token during generation.
17911
+ :param top_k: Sample from the k most likely next tokens.
17912
17912
  :param top_p: The percentage of most-likely candidates that the model considers for the next token.
17913
17913
 
17914
17914
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptmodelinferenceconfiguration.html
@@ -17978,7 +17978,7 @@ class CfnPrompt(
17978
17978
 
17979
17979
  @builtins.property
17980
17980
  def top_k(self) -> typing.Optional[jsii.Number]:
17981
- '''The number of most-likely candidates that the model considers for the next token during generation.
17981
+ '''Sample from the k most likely next tokens.
17982
17982
 
17983
17983
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptmodelinferenceconfiguration.html#cfn-bedrock-prompt-promptmodelinferenceconfiguration-topk
17984
17984
  '''
@@ -18965,7 +18965,7 @@ class CfnPromptVersion(
18965
18965
  :param max_tokens: The maximum number of tokens to return in the response.
18966
18966
  :param stop_sequences: A list of strings that define sequences after which the model will stop generating.
18967
18967
  :param temperature: Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
18968
- :param top_k: The number of most-likely candidates that the model considers for the next token during generation.
18968
+ :param top_k: Sample from the k most likely next tokens.
18969
18969
  :param top_p: The percentage of most-likely candidates that the model considers for the next token.
18970
18970
 
18971
18971
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-promptmodelinferenceconfiguration.html
@@ -19035,7 +19035,7 @@ class CfnPromptVersion(
19035
19035
 
19036
19036
  @builtins.property
19037
19037
  def top_k(self) -> typing.Optional[jsii.Number]:
19038
- '''The number of most-likely candidates that the model considers for the next token during generation.
19038
+ '''Sample from the k most likely next tokens.
19039
19039
 
19040
19040
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-promptmodelinferenceconfiguration.html#cfn-bedrock-promptversion-promptmodelinferenceconfiguration-topk
19041
19041
  '''
@@ -73,7 +73,7 @@ Example:
73
73
  ```python
74
74
  git_hub_source = codebuild.Source.git_hub(
75
75
  owner="awslabs",
76
- repo="aws-cdk",
76
+ repo="aws-cdk", # optional, default: undefined if unspecified will create organization webhook
77
77
  webhook=True, # optional, default: true if `webhookFilters` were provided, false otherwise
78
78
  webhook_triggers_batch_build=True, # optional, default is false
79
79
  webhook_filters=[
@@ -83,6 +83,19 @@ git_hub_source = codebuild.Source.git_hub(
83
83
  )
84
84
  ```
85
85
 
86
+ The `GitHubSource` is also able to trigger all repos in GitHub Organizations
87
+ Example:
88
+
89
+ ```python
90
+ git_hub_source = codebuild.Source.git_hub(
91
+ owner="aws",
92
+ webhook_triggers_batch_build=True, # optional, default is false
93
+ webhook_filters=[
94
+ codebuild.FilterGroup.in_event_of(codebuild.EventAction.WORKFLOW_JOB_QUEUED).and_repository_name_is("aws-.*").and_repository_name_is_not("aws-cdk-lib")
95
+ ]
96
+ )
97
+ ```
98
+
86
99
  To provide GitHub credentials, please either go to AWS CodeBuild Console to connect
87
100
  or call `ImportSourceCredentials` to persist your personal access token.
88
101
  Example:
@@ -8369,7 +8382,7 @@ class EventAction(enum.Enum):
8369
8382
 
8370
8383
  git_hub_source = codebuild.Source.git_hub(
8371
8384
  owner="awslabs",
8372
- repo="aws-cdk",
8385
+ repo="aws-cdk", # optional, default: undefined if unspecified will create organization webhook
8373
8386
  webhook=True, # optional, default: true if `webhookFilters` were provided, false otherwise
8374
8387
  webhook_triggers_batch_build=True, # optional, default is false
8375
8388
  webhook_filters=[
@@ -8551,7 +8564,7 @@ class FilterGroup(
8551
8564
 
8552
8565
  git_hub_source = codebuild.Source.git_hub(
8553
8566
  owner="awslabs",
8554
- repo="aws-cdk",
8567
+ repo="aws-cdk", # optional, default: undefined if unspecified will create organization webhook
8555
8568
  webhook=True, # optional, default: true if `webhookFilters` were provided, false otherwise
8556
8569
  webhook_triggers_batch_build=True, # optional, default is false
8557
8570
  webhook_filters=[
@@ -8741,6 +8754,34 @@ class FilterGroup(
8741
8754
  check_type(argname="argument pattern", value=pattern, expected_type=type_hints["pattern"])
8742
8755
  return typing.cast("FilterGroup", jsii.invoke(self, "andHeadRefIsNot", [pattern]))
8743
8756
 
8757
+ @jsii.member(jsii_name="andRepositoryNameIs")
8758
+ def and_repository_name_is(self, pattern: builtins.str) -> "FilterGroup":
8759
+ '''Create a new FilterGroup with an added condition: the push that is the source of the event affect only a repository name that matches the given pattern.
8760
+
8761
+ Note that you can only use this method if this Group contains only the ``WORKFLOW_JOB_QUEUED`` event action,
8762
+ only for GitHub sources and only for organization webhook.
8763
+
8764
+ :param pattern: a regular expression.
8765
+ '''
8766
+ if __debug__:
8767
+ type_hints = typing.get_type_hints(_typecheckingstub__9e7d3f169fef6e265f8052a45ab6fd4a3fd2974d9cbf918ba5d79bbc11b6c0b3)
8768
+ check_type(argname="argument pattern", value=pattern, expected_type=type_hints["pattern"])
8769
+ return typing.cast("FilterGroup", jsii.invoke(self, "andRepositoryNameIs", [pattern]))
8770
+
8771
+ @jsii.member(jsii_name="andRepositoryNameIsNot")
8772
+ def and_repository_name_is_not(self, pattern: builtins.str) -> "FilterGroup":
8773
+ '''Create a new FilterGroup with an added condition: the push that is the source of the event must not affect a repository name that matches the given pattern.
8774
+
8775
+ Note that you can only use this method if this Group contains only the ``WORKFLOW_JOB_QUEUED`` event action,
8776
+ only for GitHub sources and only for organization webhook.
8777
+
8778
+ :param pattern: a regular expression.
8779
+ '''
8780
+ if __debug__:
8781
+ type_hints = typing.get_type_hints(_typecheckingstub__e84ee81a663b5ed60423a7ba14b5db0cf1deeb13dee287175257f878aedcc7b2)
8782
+ check_type(argname="argument pattern", value=pattern, expected_type=type_hints["pattern"])
8783
+ return typing.cast("FilterGroup", jsii.invoke(self, "andRepositoryNameIsNot", [pattern]))
8784
+
8744
8785
  @jsii.member(jsii_name="andTagIs")
8745
8786
  def and_tag_is(self, tag_name: builtins.str) -> "FilterGroup":
8746
8787
  '''Create a new FilterGroup with an added condition: the event must affect the given tag.
@@ -14850,12 +14891,12 @@ class Source(
14850
14891
  cls,
14851
14892
  *,
14852
14893
  owner: builtins.str,
14853
- repo: builtins.str,
14854
14894
  branch_or_ref: typing.Optional[builtins.str] = None,
14855
14895
  build_status_context: typing.Optional[builtins.str] = None,
14856
14896
  build_status_url: typing.Optional[builtins.str] = None,
14857
14897
  clone_depth: typing.Optional[jsii.Number] = None,
14858
14898
  fetch_submodules: typing.Optional[builtins.bool] = None,
14899
+ repo: typing.Optional[builtins.str] = None,
14859
14900
  report_build_status: typing.Optional[builtins.bool] = None,
14860
14901
  webhook: typing.Optional[builtins.bool] = None,
14861
14902
  webhook_filters: typing.Optional[typing.Sequence[FilterGroup]] = None,
@@ -14863,13 +14904,13 @@ class Source(
14863
14904
  identifier: typing.Optional[builtins.str] = None,
14864
14905
  ) -> ISource:
14865
14906
  '''
14866
- :param owner: The GitHub account/user that owns the repo.
14867
- :param repo: The name of the repo (without the username).
14907
+ :param owner: The GitHub Organization/user that owns the repo.
14868
14908
  :param branch_or_ref: The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. Default: the default branch's HEAD commit ID is used
14869
14909
  :param build_status_context: This parameter is used for the ``context`` parameter in the GitHub commit status. Can use built-in CodeBuild variables, like $AWS_REGION. Default: "AWS CodeBuild $AWS_REGION ($PROJECT_NAME)"
14870
14910
  :param build_status_url: The URL that the build will report back to the source provider. Can use built-in CodeBuild variables, like $AWS_REGION. Default: - link to the AWS Console for CodeBuild to a particular build execution
14871
14911
  :param clone_depth: The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build of the project.
14872
14912
  :param fetch_submodules: Whether to fetch submodules while cloning git repo. Default: false
14913
+ :param repo: The name of the repo (without the username). Default: undefined will create an organization webhook
14873
14914
  :param report_build_status: Whether to send notifications on your build's start and end. Default: true
14874
14915
  :param webhook: Whether to create a webhook that will trigger a build every time an event happens in the repository. Default: true if any ``webhookFilters`` were provided, false otherwise
14875
14916
  :param webhook_filters: A list of webhook filters that can constraint what events in the repository will trigger a build. A build is triggered if any of the provided filter groups match. Only valid if ``webhook`` was not provided as false. Default: every push and every Pull Request (create or update) triggers a build
@@ -14878,12 +14919,12 @@ class Source(
14878
14919
  '''
14879
14920
  props = GitHubSourceProps(
14880
14921
  owner=owner,
14881
- repo=repo,
14882
14922
  branch_or_ref=branch_or_ref,
14883
14923
  build_status_context=build_status_context,
14884
14924
  build_status_url=build_status_url,
14885
14925
  clone_depth=clone_depth,
14886
14926
  fetch_submodules=fetch_submodules,
14927
+ repo=repo,
14887
14928
  report_build_status=report_build_status,
14888
14929
  webhook=webhook,
14889
14930
  webhook_filters=webhook_filters,
@@ -16499,12 +16540,12 @@ class GitHubEnterpriseSourceProps(SourceProps):
16499
16540
  name_mapping={
16500
16541
  "identifier": "identifier",
16501
16542
  "owner": "owner",
16502
- "repo": "repo",
16503
16543
  "branch_or_ref": "branchOrRef",
16504
16544
  "build_status_context": "buildStatusContext",
16505
16545
  "build_status_url": "buildStatusUrl",
16506
16546
  "clone_depth": "cloneDepth",
16507
16547
  "fetch_submodules": "fetchSubmodules",
16548
+ "repo": "repo",
16508
16549
  "report_build_status": "reportBuildStatus",
16509
16550
  "webhook": "webhook",
16510
16551
  "webhook_filters": "webhookFilters",
@@ -16517,12 +16558,12 @@ class GitHubSourceProps(SourceProps):
16517
16558
  *,
16518
16559
  identifier: typing.Optional[builtins.str] = None,
16519
16560
  owner: builtins.str,
16520
- repo: builtins.str,
16521
16561
  branch_or_ref: typing.Optional[builtins.str] = None,
16522
16562
  build_status_context: typing.Optional[builtins.str] = None,
16523
16563
  build_status_url: typing.Optional[builtins.str] = None,
16524
16564
  clone_depth: typing.Optional[jsii.Number] = None,
16525
16565
  fetch_submodules: typing.Optional[builtins.bool] = None,
16566
+ repo: typing.Optional[builtins.str] = None,
16526
16567
  report_build_status: typing.Optional[builtins.bool] = None,
16527
16568
  webhook: typing.Optional[builtins.bool] = None,
16528
16569
  webhook_filters: typing.Optional[typing.Sequence[FilterGroup]] = None,
@@ -16531,13 +16572,13 @@ class GitHubSourceProps(SourceProps):
16531
16572
  '''Construction properties for ``GitHubSource`` and ``GitHubEnterpriseSource``.
16532
16573
 
16533
16574
  :param identifier: The source identifier. This property is required on secondary sources.
16534
- :param owner: The GitHub account/user that owns the repo.
16535
- :param repo: The name of the repo (without the username).
16575
+ :param owner: The GitHub Organization/user that owns the repo.
16536
16576
  :param branch_or_ref: The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. Default: the default branch's HEAD commit ID is used
16537
16577
  :param build_status_context: This parameter is used for the ``context`` parameter in the GitHub commit status. Can use built-in CodeBuild variables, like $AWS_REGION. Default: "AWS CodeBuild $AWS_REGION ($PROJECT_NAME)"
16538
16578
  :param build_status_url: The URL that the build will report back to the source provider. Can use built-in CodeBuild variables, like $AWS_REGION. Default: - link to the AWS Console for CodeBuild to a particular build execution
16539
16579
  :param clone_depth: The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build of the project.
16540
16580
  :param fetch_submodules: Whether to fetch submodules while cloning git repo. Default: false
16581
+ :param repo: The name of the repo (without the username). Default: undefined will create an organization webhook
16541
16582
  :param report_build_status: Whether to send notifications on your build's start and end. Default: true
16542
16583
  :param webhook: Whether to create a webhook that will trigger a build every time an event happens in the repository. Default: true if any ``webhookFilters`` were provided, false otherwise
16543
16584
  :param webhook_filters: A list of webhook filters that can constraint what events in the repository will trigger a build. A build is triggered if any of the provided filter groups match. Only valid if ``webhook`` was not provided as false. Default: every push and every Pull Request (create or update) triggers a build
@@ -16547,31 +16588,30 @@ class GitHubSourceProps(SourceProps):
16547
16588
 
16548
16589
  Example::
16549
16590
 
16550
- project = codebuild.Project(self, "MyProject",
16551
- build_spec=codebuild.BuildSpec.from_source_filename("my-buildspec.yml"),
16552
- source=codebuild.Source.git_hub(
16553
- owner="awslabs",
16554
- repo="aws-cdk"
16555
- )
16591
+ git_hub_source = codebuild.Source.git_hub(
16592
+ owner="aws",
16593
+ webhook_triggers_batch_build=True, # optional, default is false
16594
+ webhook_filters=[
16595
+ codebuild.FilterGroup.in_event_of(codebuild.EventAction.WORKFLOW_JOB_QUEUED).and_repository_name_is("aws-.*").and_repository_name_is_not("aws-cdk-lib")
16596
+ ]
16556
16597
  )
16557
16598
  '''
16558
16599
  if __debug__:
16559
16600
  type_hints = typing.get_type_hints(_typecheckingstub__d3b887e14634bc45819a77709375f77df36f65342d6d36aacb8fa50fb075226a)
16560
16601
  check_type(argname="argument identifier", value=identifier, expected_type=type_hints["identifier"])
16561
16602
  check_type(argname="argument owner", value=owner, expected_type=type_hints["owner"])
16562
- check_type(argname="argument repo", value=repo, expected_type=type_hints["repo"])
16563
16603
  check_type(argname="argument branch_or_ref", value=branch_or_ref, expected_type=type_hints["branch_or_ref"])
16564
16604
  check_type(argname="argument build_status_context", value=build_status_context, expected_type=type_hints["build_status_context"])
16565
16605
  check_type(argname="argument build_status_url", value=build_status_url, expected_type=type_hints["build_status_url"])
16566
16606
  check_type(argname="argument clone_depth", value=clone_depth, expected_type=type_hints["clone_depth"])
16567
16607
  check_type(argname="argument fetch_submodules", value=fetch_submodules, expected_type=type_hints["fetch_submodules"])
16608
+ check_type(argname="argument repo", value=repo, expected_type=type_hints["repo"])
16568
16609
  check_type(argname="argument report_build_status", value=report_build_status, expected_type=type_hints["report_build_status"])
16569
16610
  check_type(argname="argument webhook", value=webhook, expected_type=type_hints["webhook"])
16570
16611
  check_type(argname="argument webhook_filters", value=webhook_filters, expected_type=type_hints["webhook_filters"])
16571
16612
  check_type(argname="argument webhook_triggers_batch_build", value=webhook_triggers_batch_build, expected_type=type_hints["webhook_triggers_batch_build"])
16572
16613
  self._values: typing.Dict[builtins.str, typing.Any] = {
16573
16614
  "owner": owner,
16574
- "repo": repo,
16575
16615
  }
16576
16616
  if identifier is not None:
16577
16617
  self._values["identifier"] = identifier
@@ -16585,6 +16625,8 @@ class GitHubSourceProps(SourceProps):
16585
16625
  self._values["clone_depth"] = clone_depth
16586
16626
  if fetch_submodules is not None:
16587
16627
  self._values["fetch_submodules"] = fetch_submodules
16628
+ if repo is not None:
16629
+ self._values["repo"] = repo
16588
16630
  if report_build_status is not None:
16589
16631
  self._values["report_build_status"] = report_build_status
16590
16632
  if webhook is not None:
@@ -16605,7 +16647,7 @@ class GitHubSourceProps(SourceProps):
16605
16647
 
16606
16648
  @builtins.property
16607
16649
  def owner(self) -> builtins.str:
16608
- '''The GitHub account/user that owns the repo.
16650
+ '''The GitHub Organization/user that owns the repo.
16609
16651
 
16610
16652
  Example::
16611
16653
 
@@ -16615,18 +16657,6 @@ class GitHubSourceProps(SourceProps):
16615
16657
  assert result is not None, "Required property 'owner' is missing"
16616
16658
  return typing.cast(builtins.str, result)
16617
16659
 
16618
- @builtins.property
16619
- def repo(self) -> builtins.str:
16620
- '''The name of the repo (without the username).
16621
-
16622
- Example::
16623
-
16624
- "aws-cdk"
16625
- '''
16626
- result = self._values.get("repo")
16627
- assert result is not None, "Required property 'repo' is missing"
16628
- return typing.cast(builtins.str, result)
16629
-
16630
16660
  @builtins.property
16631
16661
  def branch_or_ref(self) -> typing.Optional[builtins.str]:
16632
16662
  '''The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.
@@ -16694,6 +16724,19 @@ class GitHubSourceProps(SourceProps):
16694
16724
  result = self._values.get("fetch_submodules")
16695
16725
  return typing.cast(typing.Optional[builtins.bool], result)
16696
16726
 
16727
+ @builtins.property
16728
+ def repo(self) -> typing.Optional[builtins.str]:
16729
+ '''The name of the repo (without the username).
16730
+
16731
+ :default: undefined will create an organization webhook
16732
+
16733
+ Example::
16734
+
16735
+ "aws-cdk"
16736
+ '''
16737
+ result = self._values.get("repo")
16738
+ return typing.cast(typing.Optional[builtins.str], result)
16739
+
16697
16740
  @builtins.property
16698
16741
  def report_build_status(self) -> typing.Optional[builtins.bool]:
16699
16742
  '''Whether to send notifications on your build's start and end.
@@ -18332,6 +18375,18 @@ def _typecheckingstub__a2e6773d7ae0ebb1e84bc59b0802dbef393b54896f56ef64f567d576e
18332
18375
  """Type checking stubs"""
18333
18376
  pass
18334
18377
 
18378
+ def _typecheckingstub__9e7d3f169fef6e265f8052a45ab6fd4a3fd2974d9cbf918ba5d79bbc11b6c0b3(
18379
+ pattern: builtins.str,
18380
+ ) -> None:
18381
+ """Type checking stubs"""
18382
+ pass
18383
+
18384
+ def _typecheckingstub__e84ee81a663b5ed60423a7ba14b5db0cf1deeb13dee287175257f878aedcc7b2(
18385
+ pattern: builtins.str,
18386
+ ) -> None:
18387
+ """Type checking stubs"""
18388
+ pass
18389
+
18335
18390
  def _typecheckingstub__9ffb04f4c6555e4c32bf26674c6978ab767449655616070b2b0002f145554f3c(
18336
18391
  tag_name: builtins.str,
18337
18392
  ) -> None:
@@ -19200,12 +19255,12 @@ def _typecheckingstub__d3b887e14634bc45819a77709375f77df36f65342d6d36aacb8fa50fb
19200
19255
  *,
19201
19256
  identifier: typing.Optional[builtins.str] = None,
19202
19257
  owner: builtins.str,
19203
- repo: builtins.str,
19204
19258
  branch_or_ref: typing.Optional[builtins.str] = None,
19205
19259
  build_status_context: typing.Optional[builtins.str] = None,
19206
19260
  build_status_url: typing.Optional[builtins.str] = None,
19207
19261
  clone_depth: typing.Optional[jsii.Number] = None,
19208
19262
  fetch_submodules: typing.Optional[builtins.bool] = None,
19263
+ repo: typing.Optional[builtins.str] = None,
19209
19264
  report_build_status: typing.Optional[builtins.bool] = None,
19210
19265
  webhook: typing.Optional[builtins.bool] = None,
19211
19266
  webhook_filters: typing.Optional[typing.Sequence[FilterGroup]] = None,