aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.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.

Files changed (53) hide show
  1. aws_cdk/__init__.py +246 -62
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +1 -1
  5. aws_cdk/aws_appflow/__init__.py +205 -7
  6. aws_cdk/aws_appstream/__init__.py +33 -28
  7. aws_cdk/aws_appsync/__init__.py +555 -71
  8. aws_cdk/aws_autoscaling/__init__.py +5 -11
  9. aws_cdk/aws_billingconductor/__init__.py +145 -1
  10. aws_cdk/aws_cleanrooms/__init__.py +1198 -86
  11. aws_cdk/aws_cloudformation/__init__.py +221 -55
  12. aws_cdk/aws_cloudwatch/__init__.py +325 -2
  13. aws_cdk/aws_cognito/__init__.py +9 -13
  14. aws_cdk/aws_config/__init__.py +68 -73
  15. aws_cdk/aws_connect/__init__.py +909 -164
  16. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  17. aws_cdk/aws_dms/__init__.py +198 -0
  18. aws_cdk/aws_ec2/__init__.py +593 -73
  19. aws_cdk/aws_ecr/__init__.py +7 -2
  20. aws_cdk/aws_ecs/__init__.py +2 -2
  21. aws_cdk/aws_efs/__init__.py +237 -0
  22. aws_cdk/aws_emr/__init__.py +232 -0
  23. aws_cdk/aws_entityresolution/__init__.py +1702 -0
  24. aws_cdk/aws_events/__init__.py +13 -18
  25. aws_cdk/aws_fms/__init__.py +3 -3
  26. aws_cdk/aws_gamelift/__init__.py +10 -15
  27. aws_cdk/aws_grafana/__init__.py +9 -5
  28. aws_cdk/aws_guardduty/__init__.py +272 -205
  29. aws_cdk/aws_iam/__init__.py +20 -18
  30. aws_cdk/aws_iotwireless/__init__.py +38 -54
  31. aws_cdk/aws_lakeformation/__init__.py +18 -6
  32. aws_cdk/aws_lambda/__init__.py +1 -1
  33. aws_cdk/aws_lightsail/__init__.py +225 -0
  34. aws_cdk/aws_lookoutequipment/__init__.py +4 -4
  35. aws_cdk/aws_macie/__init__.py +5 -3
  36. aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
  37. aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
  38. aws_cdk/aws_quicksight/__init__.py +189 -116
  39. aws_cdk/aws_rds/__init__.py +316 -9
  40. aws_cdk/aws_resiliencehub/__init__.py +38 -21
  41. aws_cdk/aws_route53resolver/__init__.py +429 -0
  42. aws_cdk/aws_sagemaker/__init__.py +34 -34
  43. aws_cdk/aws_stepfunctions/__init__.py +111 -14
  44. aws_cdk/aws_transfer/__init__.py +2 -2
  45. aws_cdk/aws_vpclattice/__init__.py +128 -120
  46. aws_cdk/aws_workspacesweb/__init__.py +3790 -0
  47. aws_cdk/region_info/__init__.py +49 -0
  48. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
  49. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
  50. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
  51. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
  52. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
  53. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
@@ -6257,7 +6257,15 @@ class CfnFlow(
6257
6257
  include_deleted_records=False
6258
6258
  ),
6259
6259
  sapo_data=appflow.CfnFlow.SAPODataSourcePropertiesProperty(
6260
- object_path="objectPath"
6260
+ object_path="objectPath",
6261
+
6262
+ # the properties below are optional
6263
+ pagination_config=appflow.CfnFlow.SAPODataPaginationConfigProperty(
6264
+ max_page_size=123
6265
+ ),
6266
+ parallelism_config=appflow.CfnFlow.SAPODataParallelismConfigProperty(
6267
+ max_parallelism=123
6268
+ )
6261
6269
  ),
6262
6270
  service_now=appflow.CfnFlow.ServiceNowSourcePropertiesProperty(
6263
6271
  object="object"
@@ -9522,16 +9530,130 @@ class CfnFlow(
9522
9530
  k + "=" + repr(v) for k, v in self._values.items()
9523
9531
  )
9524
9532
 
9533
+ @jsii.data_type(
9534
+ jsii_type="aws-cdk-lib.aws_appflow.CfnFlow.SAPODataPaginationConfigProperty",
9535
+ jsii_struct_bases=[],
9536
+ name_mapping={"max_page_size": "maxPageSize"},
9537
+ )
9538
+ class SAPODataPaginationConfigProperty:
9539
+ def __init__(self, *, max_page_size: jsii.Number) -> None:
9540
+ '''SAP Source connector page size.
9541
+
9542
+ :param max_page_size:
9543
+
9544
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatapaginationconfig.html
9545
+ :exampleMetadata: fixture=_generated
9546
+
9547
+ Example::
9548
+
9549
+ # The code below shows an example of how to instantiate this type.
9550
+ # The values are placeholders you should change.
9551
+ from aws_cdk import aws_appflow as appflow
9552
+
9553
+ s_aPOData_pagination_config_property = appflow.CfnFlow.SAPODataPaginationConfigProperty(
9554
+ max_page_size=123
9555
+ )
9556
+ '''
9557
+ if __debug__:
9558
+ type_hints = typing.get_type_hints(_typecheckingstub__70a1b148320f618d1580608aea44a877c958797e9cc86024259d3c016c8971c1)
9559
+ check_type(argname="argument max_page_size", value=max_page_size, expected_type=type_hints["max_page_size"])
9560
+ self._values: typing.Dict[builtins.str, typing.Any] = {
9561
+ "max_page_size": max_page_size,
9562
+ }
9563
+
9564
+ @builtins.property
9565
+ def max_page_size(self) -> jsii.Number:
9566
+ '''
9567
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatapaginationconfig.html#cfn-appflow-flow-sapodatapaginationconfig-maxpagesize
9568
+ '''
9569
+ result = self._values.get("max_page_size")
9570
+ assert result is not None, "Required property 'max_page_size' is missing"
9571
+ return typing.cast(jsii.Number, result)
9572
+
9573
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9574
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9575
+
9576
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9577
+ return not (rhs == self)
9578
+
9579
+ def __repr__(self) -> str:
9580
+ return "SAPODataPaginationConfigProperty(%s)" % ", ".join(
9581
+ k + "=" + repr(v) for k, v in self._values.items()
9582
+ )
9583
+
9584
+ @jsii.data_type(
9585
+ jsii_type="aws-cdk-lib.aws_appflow.CfnFlow.SAPODataParallelismConfigProperty",
9586
+ jsii_struct_bases=[],
9587
+ name_mapping={"max_parallelism": "maxParallelism"},
9588
+ )
9589
+ class SAPODataParallelismConfigProperty:
9590
+ def __init__(self, *, max_parallelism: jsii.Number) -> None:
9591
+ '''SAP Source connector parallelism factor.
9592
+
9593
+ :param max_parallelism:
9594
+
9595
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodataparallelismconfig.html
9596
+ :exampleMetadata: fixture=_generated
9597
+
9598
+ Example::
9599
+
9600
+ # The code below shows an example of how to instantiate this type.
9601
+ # The values are placeholders you should change.
9602
+ from aws_cdk import aws_appflow as appflow
9603
+
9604
+ s_aPOData_parallelism_config_property = appflow.CfnFlow.SAPODataParallelismConfigProperty(
9605
+ max_parallelism=123
9606
+ )
9607
+ '''
9608
+ if __debug__:
9609
+ type_hints = typing.get_type_hints(_typecheckingstub__668e98c80d12ecf0f0b6848ebbd4e31684d00592bad96c5d718f04567a36d867)
9610
+ check_type(argname="argument max_parallelism", value=max_parallelism, expected_type=type_hints["max_parallelism"])
9611
+ self._values: typing.Dict[builtins.str, typing.Any] = {
9612
+ "max_parallelism": max_parallelism,
9613
+ }
9614
+
9615
+ @builtins.property
9616
+ def max_parallelism(self) -> jsii.Number:
9617
+ '''
9618
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodataparallelismconfig.html#cfn-appflow-flow-sapodataparallelismconfig-maxparallelism
9619
+ '''
9620
+ result = self._values.get("max_parallelism")
9621
+ assert result is not None, "Required property 'max_parallelism' is missing"
9622
+ return typing.cast(jsii.Number, result)
9623
+
9624
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9625
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9626
+
9627
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9628
+ return not (rhs == self)
9629
+
9630
+ def __repr__(self) -> str:
9631
+ return "SAPODataParallelismConfigProperty(%s)" % ", ".join(
9632
+ k + "=" + repr(v) for k, v in self._values.items()
9633
+ )
9634
+
9525
9635
  @jsii.data_type(
9526
9636
  jsii_type="aws-cdk-lib.aws_appflow.CfnFlow.SAPODataSourcePropertiesProperty",
9527
9637
  jsii_struct_bases=[],
9528
- name_mapping={"object_path": "objectPath"},
9638
+ name_mapping={
9639
+ "object_path": "objectPath",
9640
+ "pagination_config": "paginationConfig",
9641
+ "parallelism_config": "parallelismConfig",
9642
+ },
9529
9643
  )
9530
9644
  class SAPODataSourcePropertiesProperty:
9531
- def __init__(self, *, object_path: builtins.str) -> None:
9645
+ def __init__(
9646
+ self,
9647
+ *,
9648
+ object_path: builtins.str,
9649
+ pagination_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.SAPODataPaginationConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
9650
+ parallelism_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFlow.SAPODataParallelismConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
9651
+ ) -> None:
9532
9652
  '''The properties that are applied when using SAPOData as a flow source.
9533
9653
 
9534
9654
  :param object_path: The object path specified in the SAPOData flow source.
9655
+ :param pagination_config: SAP Source connector page size.
9656
+ :param parallelism_config: SAP Source connector parallelism factor.
9535
9657
 
9536
9658
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatasourceproperties.html
9537
9659
  :exampleMetadata: fixture=_generated
@@ -9543,15 +9665,29 @@ class CfnFlow(
9543
9665
  from aws_cdk import aws_appflow as appflow
9544
9666
 
9545
9667
  s_aPOData_source_properties_property = appflow.CfnFlow.SAPODataSourcePropertiesProperty(
9546
- object_path="objectPath"
9668
+ object_path="objectPath",
9669
+
9670
+ # the properties below are optional
9671
+ pagination_config=appflow.CfnFlow.SAPODataPaginationConfigProperty(
9672
+ max_page_size=123
9673
+ ),
9674
+ parallelism_config=appflow.CfnFlow.SAPODataParallelismConfigProperty(
9675
+ max_parallelism=123
9676
+ )
9547
9677
  )
9548
9678
  '''
9549
9679
  if __debug__:
9550
9680
  type_hints = typing.get_type_hints(_typecheckingstub__1c4e8d48237678f7dc3ac8c9c540e8c8080066daee936538208a6c98c0bd5b8e)
9551
9681
  check_type(argname="argument object_path", value=object_path, expected_type=type_hints["object_path"])
9682
+ check_type(argname="argument pagination_config", value=pagination_config, expected_type=type_hints["pagination_config"])
9683
+ check_type(argname="argument parallelism_config", value=parallelism_config, expected_type=type_hints["parallelism_config"])
9552
9684
  self._values: typing.Dict[builtins.str, typing.Any] = {
9553
9685
  "object_path": object_path,
9554
9686
  }
9687
+ if pagination_config is not None:
9688
+ self._values["pagination_config"] = pagination_config
9689
+ if parallelism_config is not None:
9690
+ self._values["parallelism_config"] = parallelism_config
9555
9691
 
9556
9692
  @builtins.property
9557
9693
  def object_path(self) -> builtins.str:
@@ -9563,6 +9699,28 @@ class CfnFlow(
9563
9699
  assert result is not None, "Required property 'object_path' is missing"
9564
9700
  return typing.cast(builtins.str, result)
9565
9701
 
9702
+ @builtins.property
9703
+ def pagination_config(
9704
+ self,
9705
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.SAPODataPaginationConfigProperty"]]:
9706
+ '''SAP Source connector page size.
9707
+
9708
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatasourceproperties.html#cfn-appflow-flow-sapodatasourceproperties-paginationconfig
9709
+ '''
9710
+ result = self._values.get("pagination_config")
9711
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.SAPODataPaginationConfigProperty"]], result)
9712
+
9713
+ @builtins.property
9714
+ def parallelism_config(
9715
+ self,
9716
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.SAPODataParallelismConfigProperty"]]:
9717
+ '''SAP Source connector parallelism factor.
9718
+
9719
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatasourceproperties.html#cfn-appflow-flow-sapodatasourceproperties-parallelismconfig
9720
+ '''
9721
+ result = self._values.get("parallelism_config")
9722
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.SAPODataParallelismConfigProperty"]], result)
9723
+
9566
9724
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
9567
9725
  return isinstance(rhs, self.__class__) and rhs._values == self._values
9568
9726
 
@@ -10423,7 +10581,15 @@ class CfnFlow(
10423
10581
  include_deleted_records=False
10424
10582
  ),
10425
10583
  sapo_data=appflow.CfnFlow.SAPODataSourcePropertiesProperty(
10426
- object_path="objectPath"
10584
+ object_path="objectPath",
10585
+
10586
+ # the properties below are optional
10587
+ pagination_config=appflow.CfnFlow.SAPODataPaginationConfigProperty(
10588
+ max_page_size=123
10589
+ ),
10590
+ parallelism_config=appflow.CfnFlow.SAPODataParallelismConfigProperty(
10591
+ max_parallelism=123
10592
+ )
10427
10593
  ),
10428
10594
  service_now=appflow.CfnFlow.ServiceNowSourcePropertiesProperty(
10429
10595
  object="object"
@@ -10795,7 +10961,15 @@ class CfnFlow(
10795
10961
  include_deleted_records=False
10796
10962
  ),
10797
10963
  sapo_data=appflow.CfnFlow.SAPODataSourcePropertiesProperty(
10798
- object_path="objectPath"
10964
+ object_path="objectPath",
10965
+
10966
+ # the properties below are optional
10967
+ pagination_config=appflow.CfnFlow.SAPODataPaginationConfigProperty(
10968
+ max_page_size=123
10969
+ ),
10970
+ parallelism_config=appflow.CfnFlow.SAPODataParallelismConfigProperty(
10971
+ max_parallelism=123
10972
+ )
10799
10973
  ),
10800
10974
  service_now=appflow.CfnFlow.ServiceNowSourcePropertiesProperty(
10801
10975
  object="object"
@@ -12128,7 +12302,15 @@ class CfnFlowProps:
12128
12302
  include_deleted_records=False
12129
12303
  ),
12130
12304
  sapo_data=appflow.CfnFlow.SAPODataSourcePropertiesProperty(
12131
- object_path="objectPath"
12305
+ object_path="objectPath",
12306
+
12307
+ # the properties below are optional
12308
+ pagination_config=appflow.CfnFlow.SAPODataPaginationConfigProperty(
12309
+ max_page_size=123
12310
+ ),
12311
+ parallelism_config=appflow.CfnFlow.SAPODataParallelismConfigProperty(
12312
+ max_parallelism=123
12313
+ )
12132
12314
  ),
12133
12315
  service_now=appflow.CfnFlow.ServiceNowSourcePropertiesProperty(
12134
12316
  object="object"
@@ -13295,9 +13477,25 @@ def _typecheckingstub__fe430f8a0b8fb0ec38ccedbd370e2c15756d92142c80a33db63467c25
13295
13477
  """Type checking stubs"""
13296
13478
  pass
13297
13479
 
13480
+ def _typecheckingstub__70a1b148320f618d1580608aea44a877c958797e9cc86024259d3c016c8971c1(
13481
+ *,
13482
+ max_page_size: jsii.Number,
13483
+ ) -> None:
13484
+ """Type checking stubs"""
13485
+ pass
13486
+
13487
+ def _typecheckingstub__668e98c80d12ecf0f0b6848ebbd4e31684d00592bad96c5d718f04567a36d867(
13488
+ *,
13489
+ max_parallelism: jsii.Number,
13490
+ ) -> None:
13491
+ """Type checking stubs"""
13492
+ pass
13493
+
13298
13494
  def _typecheckingstub__1c4e8d48237678f7dc3ac8c9c540e8c8080066daee936538208a6c98c0bd5b8e(
13299
13495
  *,
13300
13496
  object_path: builtins.str,
13497
+ pagination_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.SAPODataPaginationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13498
+ parallelism_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFlow.SAPODataParallelismConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13301
13499
  ) -> None:
13302
13500
  """Type checking stubs"""
13303
13501
  pass
@@ -138,7 +138,7 @@ class CfnAppBlock(
138
138
  :param description: The description of the app block.
139
139
  :param display_name: The display name of the app block.
140
140
  :param packaging_type: The packaging type of the app block.
141
- :param post_setup_script_details: The post setup script details of the app block. This only applies to app blocks with PackagingType ``APPSTREAM2`` .
141
+ :param post_setup_script_details: The post setup script details of the app block.
142
142
  :param setup_script_details: The setup script details of the app block.
143
143
  :param tags: The tags of the app block.
144
144
  '''
@@ -593,15 +593,15 @@ class CfnAppBlockBuilder(
593
593
  :param id: Construct identifier for this resource (unique in its scope).
594
594
  :param instance_type: The instance type of the app block builder.
595
595
  :param name: The name of the app block builder.
596
- :param platform: The platform of the app block builder. ``WINDOWS_SERVER_2019`` is the only valid value.
596
+ :param platform: The platform of the app block builder. *Allowed values* : ``WINDOWS_SERVER_2019``
597
597
  :param vpc_config: The VPC configuration for the app block builder.
598
- :param access_endpoints:
599
- :param app_block_arns:
598
+ :param access_endpoints: The access endpoints of the app block builder.
599
+ :param app_block_arns: The ARN of the app block. *Maximum* : ``1``
600
600
  :param description: The description of the app block builder.
601
601
  :param display_name: The display name of the app block builder.
602
602
  :param enable_default_internet_access: Indicates whether default internet access is enabled for the app block builder.
603
603
  :param iam_role_arn: The ARN of the IAM role that is applied to the app block builder.
604
- :param tags:
604
+ :param tags: The tags of the app block builder.
605
605
  '''
606
606
  if __debug__:
607
607
  type_hints = typing.get_type_hints(_typecheckingstub__f2dbe872e5cba24425b73eff2bd90d7b1c6af7a2b3b47d455ff4683fb5c3b559)
@@ -656,7 +656,8 @@ class CfnAppBlockBuilder(
656
656
  @builtins.property
657
657
  @jsii.member(jsii_name="attrArn")
658
658
  def attr_arn(self) -> builtins.str:
659
- '''
659
+ '''The ARN of the app block builder.
660
+
660
661
  :cloudformationAttribute: Arn
661
662
  '''
662
663
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
@@ -664,7 +665,8 @@ class CfnAppBlockBuilder(
664
665
  @builtins.property
665
666
  @jsii.member(jsii_name="attrCreatedTime")
666
667
  def attr_created_time(self) -> builtins.str:
667
- '''
668
+ '''The time when the app block builder was created.
669
+
668
670
  :cloudformationAttribute: CreatedTime
669
671
  '''
670
672
  return typing.cast(builtins.str, jsii.get(self, "attrCreatedTime"))
@@ -736,6 +738,7 @@ class CfnAppBlockBuilder(
736
738
  def access_endpoints(
737
739
  self,
738
740
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAppBlockBuilder.AccessEndpointProperty"]]]]:
741
+ '''The access endpoints of the app block builder.'''
739
742
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAppBlockBuilder.AccessEndpointProperty"]]]], jsii.get(self, "accessEndpoints"))
740
743
 
741
744
  @access_endpoints.setter
@@ -751,6 +754,7 @@ class CfnAppBlockBuilder(
751
754
  @builtins.property
752
755
  @jsii.member(jsii_name="appBlockArns")
753
756
  def app_block_arns(self) -> typing.Optional[typing.List[builtins.str]]:
757
+ '''The ARN of the app block.'''
754
758
  return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "appBlockArns"))
755
759
 
756
760
  @app_block_arns.setter
@@ -820,6 +824,7 @@ class CfnAppBlockBuilder(
820
824
  @builtins.property
821
825
  @jsii.member(jsii_name="tags")
822
826
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
827
+ '''The tags of the app block builder.'''
823
828
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
824
829
 
825
830
  @tags.setter
@@ -1013,15 +1018,15 @@ class CfnAppBlockBuilderProps:
1013
1018
 
1014
1019
  :param instance_type: The instance type of the app block builder.
1015
1020
  :param name: The name of the app block builder.
1016
- :param platform: The platform of the app block builder. ``WINDOWS_SERVER_2019`` is the only valid value.
1021
+ :param platform: The platform of the app block builder. *Allowed values* : ``WINDOWS_SERVER_2019``
1017
1022
  :param vpc_config: The VPC configuration for the app block builder.
1018
- :param access_endpoints:
1019
- :param app_block_arns:
1023
+ :param access_endpoints: The access endpoints of the app block builder.
1024
+ :param app_block_arns: The ARN of the app block. *Maximum* : ``1``
1020
1025
  :param description: The description of the app block builder.
1021
1026
  :param display_name: The display name of the app block builder.
1022
1027
  :param enable_default_internet_access: Indicates whether default internet access is enabled for the app block builder.
1023
1028
  :param iam_role_arn: The ARN of the IAM role that is applied to the app block builder.
1024
- :param tags:
1029
+ :param tags: The tags of the app block builder.
1025
1030
 
1026
1031
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html
1027
1032
  :exampleMetadata: fixture=_generated
@@ -1115,7 +1120,7 @@ class CfnAppBlockBuilderProps:
1115
1120
  def platform(self) -> builtins.str:
1116
1121
  '''The platform of the app block builder.
1117
1122
 
1118
- ``WINDOWS_SERVER_2019`` is the only valid value.
1123
+ *Allowed values* : ``WINDOWS_SERVER_2019``
1119
1124
 
1120
1125
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-platform
1121
1126
  '''
@@ -1139,7 +1144,8 @@ class CfnAppBlockBuilderProps:
1139
1144
  def access_endpoints(
1140
1145
  self,
1141
1146
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAppBlockBuilder.AccessEndpointProperty]]]]:
1142
- '''
1147
+ '''The access endpoints of the app block builder.
1148
+
1143
1149
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-accessendpoints
1144
1150
  '''
1145
1151
  result = self._values.get("access_endpoints")
@@ -1147,7 +1153,10 @@ class CfnAppBlockBuilderProps:
1147
1153
 
1148
1154
  @builtins.property
1149
1155
  def app_block_arns(self) -> typing.Optional[typing.List[builtins.str]]:
1150
- '''
1156
+ '''The ARN of the app block.
1157
+
1158
+ *Maximum* : ``1``
1159
+
1151
1160
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-appblockarns
1152
1161
  '''
1153
1162
  result = self._values.get("app_block_arns")
@@ -1193,7 +1202,8 @@ class CfnAppBlockBuilderProps:
1193
1202
 
1194
1203
  @builtins.property
1195
1204
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1196
- '''
1205
+ '''The tags of the app block builder.
1206
+
1197
1207
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-tags
1198
1208
  '''
1199
1209
  result = self._values.get("tags")
@@ -1245,7 +1255,7 @@ class CfnAppBlockProps:
1245
1255
  :param description: The description of the app block.
1246
1256
  :param display_name: The display name of the app block.
1247
1257
  :param packaging_type: The packaging type of the app block.
1248
- :param post_setup_script_details: The post setup script details of the app block. This only applies to app blocks with PackagingType ``APPSTREAM2`` .
1258
+ :param post_setup_script_details: The post setup script details of the app block.
1249
1259
  :param setup_script_details: The setup script details of the app block.
1250
1260
  :param tags: The tags of the app block.
1251
1261
 
@@ -1387,8 +1397,6 @@ class CfnAppBlockProps:
1387
1397
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppBlock.ScriptDetailsProperty]]:
1388
1398
  '''The post setup script details of the app block.
1389
1399
 
1390
- This only applies to app blocks with PackagingType ``APPSTREAM2`` .
1391
-
1392
1400
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-postsetupscriptdetails
1393
1401
  '''
1394
1402
  result = self._values.get("post_setup_script_details")
@@ -3800,7 +3808,7 @@ class CfnFleet(
3800
3808
  def __init__(
3801
3809
  self,
3802
3810
  *,
3803
- desired_instances: jsii.Number,
3811
+ desired_instances: typing.Optional[jsii.Number] = None,
3804
3812
  desired_sessions: typing.Optional[jsii.Number] = None,
3805
3813
  ) -> None:
3806
3814
  '''The desired capacity for a fleet.
@@ -3819,8 +3827,6 @@ class CfnFleet(
3819
3827
 
3820
3828
  compute_capacity_property = appstream.CfnFleet.ComputeCapacityProperty(
3821
3829
  desired_instances=123,
3822
-
3823
- # the properties below are optional
3824
3830
  desired_sessions=123
3825
3831
  )
3826
3832
  '''
@@ -3828,21 +3834,20 @@ class CfnFleet(
3828
3834
  type_hints = typing.get_type_hints(_typecheckingstub__87ca5878c0aa8c5995893aac0046342d8942452bc466a936ffbf559e60bbe3bb)
3829
3835
  check_type(argname="argument desired_instances", value=desired_instances, expected_type=type_hints["desired_instances"])
3830
3836
  check_type(argname="argument desired_sessions", value=desired_sessions, expected_type=type_hints["desired_sessions"])
3831
- self._values: typing.Dict[builtins.str, typing.Any] = {
3832
- "desired_instances": desired_instances,
3833
- }
3837
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3838
+ if desired_instances is not None:
3839
+ self._values["desired_instances"] = desired_instances
3834
3840
  if desired_sessions is not None:
3835
3841
  self._values["desired_sessions"] = desired_sessions
3836
3842
 
3837
3843
  @builtins.property
3838
- def desired_instances(self) -> jsii.Number:
3844
+ def desired_instances(self) -> typing.Optional[jsii.Number]:
3839
3845
  '''The desired number of streaming instances.
3840
3846
 
3841
3847
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-computecapacity.html#cfn-appstream-fleet-computecapacity-desiredinstances
3842
3848
  '''
3843
3849
  result = self._values.get("desired_instances")
3844
- assert result is not None, "Required property 'desired_instances' is missing"
3845
- return typing.cast(jsii.Number, result)
3850
+ return typing.cast(typing.Optional[jsii.Number], result)
3846
3851
 
3847
3852
  @builtins.property
3848
3853
  def desired_sessions(self) -> typing.Optional[jsii.Number]:
@@ -8078,7 +8083,7 @@ def _typecheckingstub__d8452c6c1c918a8718280c5b321c677cd442bc97d2e69bc3f9aaa1690
8078
8083
 
8079
8084
  def _typecheckingstub__87ca5878c0aa8c5995893aac0046342d8942452bc466a936ffbf559e60bbe3bb(
8080
8085
  *,
8081
- desired_instances: jsii.Number,
8086
+ desired_instances: typing.Optional[jsii.Number] = None,
8082
8087
  desired_sessions: typing.Optional[jsii.Number] = None,
8083
8088
  ) -> None:
8084
8089
  """Type checking stubs"""