aws-cdk-lib 2.184.1__py3-none-any.whl → 2.186.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 (75) hide show
  1. aws_cdk/__init__.py +102 -29
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.184.1.jsii.tgz → aws-cdk-lib@2.186.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +3 -2
  5. aws_cdk/aws_apigateway/__init__.py +1 -1
  6. aws_cdk/aws_apigatewayv2/__init__.py +9 -0
  7. aws_cdk/aws_appconfig/__init__.py +3 -3
  8. aws_cdk/aws_applicationsignals/__init__.py +495 -1
  9. aws_cdk/aws_appsync/__init__.py +65 -11
  10. aws_cdk/aws_athena/__init__.py +143 -0
  11. aws_cdk/aws_backup/__init__.py +4 -2
  12. aws_cdk/aws_batch/__init__.py +9 -0
  13. aws_cdk/aws_bedrock/__init__.py +645 -199
  14. aws_cdk/aws_cassandra/__init__.py +3 -5
  15. aws_cdk/aws_chatbot/__init__.py +41 -0
  16. aws_cdk/aws_cleanrooms/__init__.py +21 -9
  17. aws_cdk/aws_cloudformation/__init__.py +1 -5
  18. aws_cdk/aws_cloudfront/__init__.py +4 -1
  19. aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
  20. aws_cdk/aws_codeartifact/__init__.py +20 -33
  21. aws_cdk/aws_codebuild/__init__.py +10 -3
  22. aws_cdk/aws_codepipeline/__init__.py +1328 -120
  23. aws_cdk/aws_cognito/__init__.py +1 -1
  24. aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
  25. aws_cdk/aws_config/__init__.py +1 -1
  26. aws_cdk/aws_connect/__init__.py +3 -7
  27. aws_cdk/aws_controltower/__init__.py +18 -26
  28. aws_cdk/aws_datasync/__init__.py +12 -14
  29. aws_cdk/aws_datazone/__init__.py +3471 -2
  30. aws_cdk/aws_ec2/__init__.py +701 -37
  31. aws_cdk/aws_ecr/__init__.py +84 -2
  32. aws_cdk/aws_ecs/__init__.py +20 -25
  33. aws_cdk/aws_eks/__init__.py +2 -0
  34. aws_cdk/aws_elasticloadbalancingv2/__init__.py +42 -5
  35. aws_cdk/aws_elasticsearch/__init__.py +1 -1
  36. aws_cdk/aws_events/__init__.py +37 -14
  37. aws_cdk/aws_events_targets/__init__.py +5 -5
  38. aws_cdk/aws_gamelift/__init__.py +165 -165
  39. aws_cdk/aws_gameliftstreams/__init__.py +199 -59
  40. aws_cdk/aws_iam/__init__.py +320 -25
  41. aws_cdk/aws_imagebuilder/__init__.py +15 -2
  42. aws_cdk/aws_iotfleetwise/__init__.py +15 -6
  43. aws_cdk/aws_kinesisfirehose/__init__.py +115 -113
  44. aws_cdk/aws_lambda/__init__.py +7 -1
  45. aws_cdk/aws_location/__init__.py +24 -7
  46. aws_cdk/aws_logs/__init__.py +21 -27
  47. aws_cdk/aws_msk/__init__.py +17 -50
  48. aws_cdk/aws_networkfirewall/__init__.py +16 -12
  49. aws_cdk/aws_oam/__init__.py +8 -37
  50. aws_cdk/aws_opensearchservice/__init__.py +1 -1
  51. aws_cdk/aws_pcs/__init__.py +33 -22
  52. aws_cdk/aws_quicksight/__init__.py +6 -69
  53. aws_cdk/aws_rds/__init__.py +8 -4
  54. aws_cdk/aws_redshiftserverless/__init__.py +192 -15
  55. aws_cdk/aws_rum/__init__.py +454 -43
  56. aws_cdk/aws_s3/__init__.py +4 -6
  57. aws_cdk/aws_s3_deployment/__init__.py +2 -0
  58. aws_cdk/aws_sagemaker/__init__.py +524 -0
  59. aws_cdk/aws_scheduler/__init__.py +3944 -121
  60. aws_cdk/aws_scheduler_targets/__init__.py +4472 -0
  61. aws_cdk/aws_ses/__init__.py +9 -9
  62. aws_cdk/aws_sns/__init__.py +12 -12
  63. aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
  64. aws_cdk/aws_stepfunctions/__init__.py +17 -15
  65. aws_cdk/aws_timestream/__init__.py +4 -4
  66. aws_cdk/aws_wafv2/__init__.py +345 -0
  67. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  68. aws_cdk/cx_api/__init__.py +53 -0
  69. aws_cdk/region_info/__init__.py +2 -2
  70. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/METADATA +1 -1
  71. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/RECORD +75 -73
  72. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/LICENSE +0 -0
  73. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/NOTICE +0 -0
  74. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/WHEEL +0 -0
  75. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/top_level.txt +0 -0
@@ -16282,6 +16282,25 @@ class CfnInferenceComponent(
16282
16282
  ),
16283
16283
 
16284
16284
  # the properties below are optional
16285
+ deployment_config=sagemaker.CfnInferenceComponent.InferenceComponentDeploymentConfigProperty(
16286
+ auto_rollback_configuration=sagemaker.CfnInferenceComponent.AutoRollbackConfigurationProperty(
16287
+ alarms=[sagemaker.CfnInferenceComponent.AlarmProperty(
16288
+ alarm_name="alarmName"
16289
+ )]
16290
+ ),
16291
+ rolling_update_policy=sagemaker.CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty(
16292
+ maximum_batch_size=sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty(
16293
+ type="type",
16294
+ value=123
16295
+ ),
16296
+ maximum_execution_timeout_in_seconds=123,
16297
+ rollback_maximum_batch_size=sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty(
16298
+ type="type",
16299
+ value=123
16300
+ ),
16301
+ wait_interval_in_seconds=123
16302
+ )
16303
+ ),
16285
16304
  endpoint_arn="endpointArn",
16286
16305
  inference_component_name="inferenceComponentName",
16287
16306
  runtime_config=sagemaker.CfnInferenceComponent.InferenceComponentRuntimeConfigProperty(
@@ -16304,6 +16323,7 @@ class CfnInferenceComponent(
16304
16323
  *,
16305
16324
  endpoint_name: builtins.str,
16306
16325
  specification: typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentSpecificationProperty", typing.Dict[builtins.str, typing.Any]]],
16326
+ deployment_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentDeploymentConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
16307
16327
  endpoint_arn: typing.Optional[builtins.str] = None,
16308
16328
  inference_component_name: typing.Optional[builtins.str] = None,
16309
16329
  runtime_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentRuntimeConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -16315,6 +16335,7 @@ class CfnInferenceComponent(
16315
16335
  :param id: Construct identifier for this resource (unique in its scope).
16316
16336
  :param endpoint_name: The name of the endpoint that hosts the inference component.
16317
16337
  :param specification: The specification for the inference component.
16338
+ :param deployment_config: The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
16318
16339
  :param endpoint_arn: The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
16319
16340
  :param inference_component_name: The name of the inference component.
16320
16341
  :param runtime_config: The runtime config for the inference component.
@@ -16328,6 +16349,7 @@ class CfnInferenceComponent(
16328
16349
  props = CfnInferenceComponentProps(
16329
16350
  endpoint_name=endpoint_name,
16330
16351
  specification=specification,
16352
+ deployment_config=deployment_config,
16331
16353
  endpoint_arn=endpoint_arn,
16332
16354
  inference_component_name=inference_component_name,
16333
16355
  runtime_config=runtime_config,
@@ -16480,6 +16502,24 @@ class CfnInferenceComponent(
16480
16502
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
16481
16503
  jsii.set(self, "specification", value) # pyright: ignore[reportArgumentType]
16482
16504
 
16505
+ @builtins.property
16506
+ @jsii.member(jsii_name="deploymentConfig")
16507
+ def deployment_config(
16508
+ self,
16509
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentDeploymentConfigProperty"]]:
16510
+ '''The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.'''
16511
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentDeploymentConfigProperty"]], jsii.get(self, "deploymentConfig"))
16512
+
16513
+ @deployment_config.setter
16514
+ def deployment_config(
16515
+ self,
16516
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentDeploymentConfigProperty"]],
16517
+ ) -> None:
16518
+ if __debug__:
16519
+ type_hints = typing.get_type_hints(_typecheckingstub__e199bdfdfc0d9fd1ee6e1e738627e42cbf742196ce04c25062153cb3351b483d)
16520
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
16521
+ jsii.set(self, "deploymentConfig", value) # pyright: ignore[reportArgumentType]
16522
+
16483
16523
  @builtins.property
16484
16524
  @jsii.member(jsii_name="endpointArn")
16485
16525
  def endpoint_arn(self) -> typing.Optional[builtins.str]:
@@ -16550,6 +16590,116 @@ class CfnInferenceComponent(
16550
16590
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
16551
16591
  jsii.set(self, "variantName", value) # pyright: ignore[reportArgumentType]
16552
16592
 
16593
+ @jsii.data_type(
16594
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.AlarmProperty",
16595
+ jsii_struct_bases=[],
16596
+ name_mapping={"alarm_name": "alarmName"},
16597
+ )
16598
+ class AlarmProperty:
16599
+ def __init__(self, *, alarm_name: builtins.str) -> None:
16600
+ '''An Amazon CloudWatch alarm configured to monitor metrics on an endpoint.
16601
+
16602
+ :param alarm_name: The name of a CloudWatch alarm in your account.
16603
+
16604
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-alarm.html
16605
+ :exampleMetadata: fixture=_generated
16606
+
16607
+ Example::
16608
+
16609
+ # The code below shows an example of how to instantiate this type.
16610
+ # The values are placeholders you should change.
16611
+ from aws_cdk import aws_sagemaker as sagemaker
16612
+
16613
+ alarm_property = sagemaker.CfnInferenceComponent.AlarmProperty(
16614
+ alarm_name="alarmName"
16615
+ )
16616
+ '''
16617
+ if __debug__:
16618
+ type_hints = typing.get_type_hints(_typecheckingstub__c2e57d9659cdb5d7e18be641744517d4d5f2d248d3f33ad5971d10def8f016e8)
16619
+ check_type(argname="argument alarm_name", value=alarm_name, expected_type=type_hints["alarm_name"])
16620
+ self._values: typing.Dict[builtins.str, typing.Any] = {
16621
+ "alarm_name": alarm_name,
16622
+ }
16623
+
16624
+ @builtins.property
16625
+ def alarm_name(self) -> builtins.str:
16626
+ '''The name of a CloudWatch alarm in your account.
16627
+
16628
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-alarm.html#cfn-sagemaker-inferencecomponent-alarm-alarmname
16629
+ '''
16630
+ result = self._values.get("alarm_name")
16631
+ assert result is not None, "Required property 'alarm_name' is missing"
16632
+ return typing.cast(builtins.str, result)
16633
+
16634
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
16635
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
16636
+
16637
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
16638
+ return not (rhs == self)
16639
+
16640
+ def __repr__(self) -> str:
16641
+ return "AlarmProperty(%s)" % ", ".join(
16642
+ k + "=" + repr(v) for k, v in self._values.items()
16643
+ )
16644
+
16645
+ @jsii.data_type(
16646
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.AutoRollbackConfigurationProperty",
16647
+ jsii_struct_bases=[],
16648
+ name_mapping={"alarms": "alarms"},
16649
+ )
16650
+ class AutoRollbackConfigurationProperty:
16651
+ def __init__(
16652
+ self,
16653
+ *,
16654
+ alarms: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.AlarmProperty", typing.Dict[builtins.str, typing.Any]]]]],
16655
+ ) -> None:
16656
+ '''
16657
+ :param alarms:
16658
+
16659
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-autorollbackconfiguration.html
16660
+ :exampleMetadata: fixture=_generated
16661
+
16662
+ Example::
16663
+
16664
+ # The code below shows an example of how to instantiate this type.
16665
+ # The values are placeholders you should change.
16666
+ from aws_cdk import aws_sagemaker as sagemaker
16667
+
16668
+ auto_rollback_configuration_property = sagemaker.CfnInferenceComponent.AutoRollbackConfigurationProperty(
16669
+ alarms=[sagemaker.CfnInferenceComponent.AlarmProperty(
16670
+ alarm_name="alarmName"
16671
+ )]
16672
+ )
16673
+ '''
16674
+ if __debug__:
16675
+ type_hints = typing.get_type_hints(_typecheckingstub__b45c128e4eb34d277b6582f23b7a23327ba1c7a555322e894c50830f7e239c67)
16676
+ check_type(argname="argument alarms", value=alarms, expected_type=type_hints["alarms"])
16677
+ self._values: typing.Dict[builtins.str, typing.Any] = {
16678
+ "alarms": alarms,
16679
+ }
16680
+
16681
+ @builtins.property
16682
+ def alarms(
16683
+ self,
16684
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.AlarmProperty"]]]:
16685
+ '''
16686
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-autorollbackconfiguration.html#cfn-sagemaker-inferencecomponent-autorollbackconfiguration-alarms
16687
+ '''
16688
+ result = self._values.get("alarms")
16689
+ assert result is not None, "Required property 'alarms' is missing"
16690
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.AlarmProperty"]]], result)
16691
+
16692
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
16693
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
16694
+
16695
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
16696
+ return not (rhs == self)
16697
+
16698
+ def __repr__(self) -> str:
16699
+ return "AutoRollbackConfigurationProperty(%s)" % ", ".join(
16700
+ k + "=" + repr(v) for k, v in self._values.items()
16701
+ )
16702
+
16553
16703
  @jsii.data_type(
16554
16704
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.DeployedImageProperty",
16555
16705
  jsii_struct_bases=[],
@@ -16641,6 +16791,82 @@ class CfnInferenceComponent(
16641
16791
  k + "=" + repr(v) for k, v in self._values.items()
16642
16792
  )
16643
16793
 
16794
+ @jsii.data_type(
16795
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty",
16796
+ jsii_struct_bases=[],
16797
+ name_mapping={"type": "type", "value": "value"},
16798
+ )
16799
+ class InferenceComponentCapacitySizeProperty:
16800
+ def __init__(self, *, type: builtins.str, value: jsii.Number) -> None:
16801
+ '''Specifies the type and size of the endpoint capacity to activate for a rolling deployment or a rollback strategy.
16802
+
16803
+ You can specify your batches as either of the following:
16804
+
16805
+ - A count of inference component copies
16806
+ - The overall percentage or your fleet
16807
+
16808
+ For a rollback strategy, if you don't specify the fields in this object, or if you set the ``Value`` parameter to 100%, then SageMaker AI uses a blue/green rollback strategy and rolls all traffic back to the blue fleet.
16809
+
16810
+ :param type: Specifies the endpoint capacity type. - **COPY_COUNT** - The endpoint activates based on the number of inference component copies. - **CAPACITY_PERCENT** - The endpoint activates based on the specified percentage of capacity.
16811
+ :param value: Defines the capacity size, either as a number of inference component copies or a capacity percentage.
16812
+
16813
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcapacitysize.html
16814
+ :exampleMetadata: fixture=_generated
16815
+
16816
+ Example::
16817
+
16818
+ # The code below shows an example of how to instantiate this type.
16819
+ # The values are placeholders you should change.
16820
+ from aws_cdk import aws_sagemaker as sagemaker
16821
+
16822
+ inference_component_capacity_size_property = sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty(
16823
+ type="type",
16824
+ value=123
16825
+ )
16826
+ '''
16827
+ if __debug__:
16828
+ type_hints = typing.get_type_hints(_typecheckingstub__70eb38a8a5ac51cd3be509b73d5f6b909e71847b744359bf2883142f67c4b907)
16829
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
16830
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
16831
+ self._values: typing.Dict[builtins.str, typing.Any] = {
16832
+ "type": type,
16833
+ "value": value,
16834
+ }
16835
+
16836
+ @builtins.property
16837
+ def type(self) -> builtins.str:
16838
+ '''Specifies the endpoint capacity type.
16839
+
16840
+ - **COPY_COUNT** - The endpoint activates based on the number of inference component copies.
16841
+ - **CAPACITY_PERCENT** - The endpoint activates based on the specified percentage of capacity.
16842
+
16843
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcapacitysize.html#cfn-sagemaker-inferencecomponent-inferencecomponentcapacitysize-type
16844
+ '''
16845
+ result = self._values.get("type")
16846
+ assert result is not None, "Required property 'type' is missing"
16847
+ return typing.cast(builtins.str, result)
16848
+
16849
+ @builtins.property
16850
+ def value(self) -> jsii.Number:
16851
+ '''Defines the capacity size, either as a number of inference component copies or a capacity percentage.
16852
+
16853
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcapacitysize.html#cfn-sagemaker-inferencecomponent-inferencecomponentcapacitysize-value
16854
+ '''
16855
+ result = self._values.get("value")
16856
+ assert result is not None, "Required property 'value' is missing"
16857
+ return typing.cast(jsii.Number, result)
16858
+
16859
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
16860
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
16861
+
16862
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
16863
+ return not (rhs == self)
16864
+
16865
+ def __repr__(self) -> str:
16866
+ return "InferenceComponentCapacitySizeProperty(%s)" % ", ".join(
16867
+ k + "=" + repr(v) for k, v in self._values.items()
16868
+ )
16869
+
16644
16870
  @jsii.data_type(
16645
16871
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty",
16646
16872
  jsii_struct_bases=[],
@@ -16870,6 +17096,220 @@ class CfnInferenceComponent(
16870
17096
  k + "=" + repr(v) for k, v in self._values.items()
16871
17097
  )
16872
17098
 
17099
+ @jsii.data_type(
17100
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.InferenceComponentDeploymentConfigProperty",
17101
+ jsii_struct_bases=[],
17102
+ name_mapping={
17103
+ "auto_rollback_configuration": "autoRollbackConfiguration",
17104
+ "rolling_update_policy": "rollingUpdatePolicy",
17105
+ },
17106
+ )
17107
+ class InferenceComponentDeploymentConfigProperty:
17108
+ def __init__(
17109
+ self,
17110
+ *,
17111
+ auto_rollback_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.AutoRollbackConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
17112
+ rolling_update_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
17113
+ ) -> None:
17114
+ '''The deployment configuration for an endpoint that hosts inference components.
17115
+
17116
+ The configuration includes the desired deployment strategy and rollback settings.
17117
+
17118
+ :param auto_rollback_configuration:
17119
+ :param rolling_update_policy: Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.
17120
+
17121
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentdeploymentconfig.html
17122
+ :exampleMetadata: fixture=_generated
17123
+
17124
+ Example::
17125
+
17126
+ # The code below shows an example of how to instantiate this type.
17127
+ # The values are placeholders you should change.
17128
+ from aws_cdk import aws_sagemaker as sagemaker
17129
+
17130
+ inference_component_deployment_config_property = sagemaker.CfnInferenceComponent.InferenceComponentDeploymentConfigProperty(
17131
+ auto_rollback_configuration=sagemaker.CfnInferenceComponent.AutoRollbackConfigurationProperty(
17132
+ alarms=[sagemaker.CfnInferenceComponent.AlarmProperty(
17133
+ alarm_name="alarmName"
17134
+ )]
17135
+ ),
17136
+ rolling_update_policy=sagemaker.CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty(
17137
+ maximum_batch_size=sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty(
17138
+ type="type",
17139
+ value=123
17140
+ ),
17141
+ maximum_execution_timeout_in_seconds=123,
17142
+ rollback_maximum_batch_size=sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty(
17143
+ type="type",
17144
+ value=123
17145
+ ),
17146
+ wait_interval_in_seconds=123
17147
+ )
17148
+ )
17149
+ '''
17150
+ if __debug__:
17151
+ type_hints = typing.get_type_hints(_typecheckingstub__a70516845877d0ca21bee7e4344b7ffa9a86cd8096f492bb70c79806a615c46e)
17152
+ check_type(argname="argument auto_rollback_configuration", value=auto_rollback_configuration, expected_type=type_hints["auto_rollback_configuration"])
17153
+ check_type(argname="argument rolling_update_policy", value=rolling_update_policy, expected_type=type_hints["rolling_update_policy"])
17154
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
17155
+ if auto_rollback_configuration is not None:
17156
+ self._values["auto_rollback_configuration"] = auto_rollback_configuration
17157
+ if rolling_update_policy is not None:
17158
+ self._values["rolling_update_policy"] = rolling_update_policy
17159
+
17160
+ @builtins.property
17161
+ def auto_rollback_configuration(
17162
+ self,
17163
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.AutoRollbackConfigurationProperty"]]:
17164
+ '''
17165
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentdeploymentconfig.html#cfn-sagemaker-inferencecomponent-inferencecomponentdeploymentconfig-autorollbackconfiguration
17166
+ '''
17167
+ result = self._values.get("auto_rollback_configuration")
17168
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.AutoRollbackConfigurationProperty"]], result)
17169
+
17170
+ @builtins.property
17171
+ def rolling_update_policy(
17172
+ self,
17173
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty"]]:
17174
+ '''Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.
17175
+
17176
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentdeploymentconfig.html#cfn-sagemaker-inferencecomponent-inferencecomponentdeploymentconfig-rollingupdatepolicy
17177
+ '''
17178
+ result = self._values.get("rolling_update_policy")
17179
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty"]], result)
17180
+
17181
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
17182
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
17183
+
17184
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
17185
+ return not (rhs == self)
17186
+
17187
+ def __repr__(self) -> str:
17188
+ return "InferenceComponentDeploymentConfigProperty(%s)" % ", ".join(
17189
+ k + "=" + repr(v) for k, v in self._values.items()
17190
+ )
17191
+
17192
+ @jsii.data_type(
17193
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty",
17194
+ jsii_struct_bases=[],
17195
+ name_mapping={
17196
+ "maximum_batch_size": "maximumBatchSize",
17197
+ "maximum_execution_timeout_in_seconds": "maximumExecutionTimeoutInSeconds",
17198
+ "rollback_maximum_batch_size": "rollbackMaximumBatchSize",
17199
+ "wait_interval_in_seconds": "waitIntervalInSeconds",
17200
+ },
17201
+ )
17202
+ class InferenceComponentRollingUpdatePolicyProperty:
17203
+ def __init__(
17204
+ self,
17205
+ *,
17206
+ maximum_batch_size: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentCapacitySizeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
17207
+ maximum_execution_timeout_in_seconds: typing.Optional[jsii.Number] = None,
17208
+ rollback_maximum_batch_size: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentCapacitySizeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
17209
+ wait_interval_in_seconds: typing.Optional[jsii.Number] = None,
17210
+ ) -> None:
17211
+ '''Specifies a rolling deployment strategy for updating a SageMaker AI inference component.
17212
+
17213
+ :param maximum_batch_size: The batch size for each rolling step in the deployment process. For each step, SageMaker AI provisions capacity on the new endpoint fleet, routes traffic to that fleet, and terminates capacity on the old endpoint fleet. The value must be between 5% to 50% of the copy count of the inference component.
17214
+ :param maximum_execution_timeout_in_seconds: The time limit for the total deployment. Exceeding this limit causes a timeout.
17215
+ :param rollback_maximum_batch_size: The batch size for a rollback to the old endpoint fleet. If this field is absent, the value is set to the default, which is 100% of the total capacity. When the default is used, SageMaker AI provisions the entire capacity of the old fleet at once during rollback.
17216
+ :param wait_interval_in_seconds: The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet.
17217
+
17218
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy.html
17219
+ :exampleMetadata: fixture=_generated
17220
+
17221
+ Example::
17222
+
17223
+ # The code below shows an example of how to instantiate this type.
17224
+ # The values are placeholders you should change.
17225
+ from aws_cdk import aws_sagemaker as sagemaker
17226
+
17227
+ inference_component_rolling_update_policy_property = sagemaker.CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty(
17228
+ maximum_batch_size=sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty(
17229
+ type="type",
17230
+ value=123
17231
+ ),
17232
+ maximum_execution_timeout_in_seconds=123,
17233
+ rollback_maximum_batch_size=sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty(
17234
+ type="type",
17235
+ value=123
17236
+ ),
17237
+ wait_interval_in_seconds=123
17238
+ )
17239
+ '''
17240
+ if __debug__:
17241
+ type_hints = typing.get_type_hints(_typecheckingstub__c626e94952abf2565084b39891edffe84148acd4b940cec44a36bb89dceed0fa)
17242
+ check_type(argname="argument maximum_batch_size", value=maximum_batch_size, expected_type=type_hints["maximum_batch_size"])
17243
+ check_type(argname="argument maximum_execution_timeout_in_seconds", value=maximum_execution_timeout_in_seconds, expected_type=type_hints["maximum_execution_timeout_in_seconds"])
17244
+ check_type(argname="argument rollback_maximum_batch_size", value=rollback_maximum_batch_size, expected_type=type_hints["rollback_maximum_batch_size"])
17245
+ check_type(argname="argument wait_interval_in_seconds", value=wait_interval_in_seconds, expected_type=type_hints["wait_interval_in_seconds"])
17246
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
17247
+ if maximum_batch_size is not None:
17248
+ self._values["maximum_batch_size"] = maximum_batch_size
17249
+ if maximum_execution_timeout_in_seconds is not None:
17250
+ self._values["maximum_execution_timeout_in_seconds"] = maximum_execution_timeout_in_seconds
17251
+ if rollback_maximum_batch_size is not None:
17252
+ self._values["rollback_maximum_batch_size"] = rollback_maximum_batch_size
17253
+ if wait_interval_in_seconds is not None:
17254
+ self._values["wait_interval_in_seconds"] = wait_interval_in_seconds
17255
+
17256
+ @builtins.property
17257
+ def maximum_batch_size(
17258
+ self,
17259
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentCapacitySizeProperty"]]:
17260
+ '''The batch size for each rolling step in the deployment process.
17261
+
17262
+ For each step, SageMaker AI provisions capacity on the new endpoint fleet, routes traffic to that fleet, and terminates capacity on the old endpoint fleet. The value must be between 5% to 50% of the copy count of the inference component.
17263
+
17264
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy.html#cfn-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy-maximumbatchsize
17265
+ '''
17266
+ result = self._values.get("maximum_batch_size")
17267
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentCapacitySizeProperty"]], result)
17268
+
17269
+ @builtins.property
17270
+ def maximum_execution_timeout_in_seconds(self) -> typing.Optional[jsii.Number]:
17271
+ '''The time limit for the total deployment.
17272
+
17273
+ Exceeding this limit causes a timeout.
17274
+
17275
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy.html#cfn-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy-maximumexecutiontimeoutinseconds
17276
+ '''
17277
+ result = self._values.get("maximum_execution_timeout_in_seconds")
17278
+ return typing.cast(typing.Optional[jsii.Number], result)
17279
+
17280
+ @builtins.property
17281
+ def rollback_maximum_batch_size(
17282
+ self,
17283
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentCapacitySizeProperty"]]:
17284
+ '''The batch size for a rollback to the old endpoint fleet.
17285
+
17286
+ If this field is absent, the value is set to the default, which is 100% of the total capacity. When the default is used, SageMaker AI provisions the entire capacity of the old fleet at once during rollback.
17287
+
17288
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy.html#cfn-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy-rollbackmaximumbatchsize
17289
+ '''
17290
+ result = self._values.get("rollback_maximum_batch_size")
17291
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentCapacitySizeProperty"]], result)
17292
+
17293
+ @builtins.property
17294
+ def wait_interval_in_seconds(self) -> typing.Optional[jsii.Number]:
17295
+ '''The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet.
17296
+
17297
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy.html#cfn-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy-waitintervalinseconds
17298
+ '''
17299
+ result = self._values.get("wait_interval_in_seconds")
17300
+ return typing.cast(typing.Optional[jsii.Number], result)
17301
+
17302
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
17303
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
17304
+
17305
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
17306
+ return not (rhs == self)
17307
+
17308
+ def __repr__(self) -> str:
17309
+ return "InferenceComponentRollingUpdatePolicyProperty(%s)" % ", ".join(
17310
+ k + "=" + repr(v) for k, v in self._values.items()
17311
+ )
17312
+
16873
17313
  @jsii.data_type(
16874
17314
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.InferenceComponentRuntimeConfigProperty",
16875
17315
  jsii_struct_bases=[],
@@ -17201,6 +17641,7 @@ class CfnInferenceComponent(
17201
17641
  name_mapping={
17202
17642
  "endpoint_name": "endpointName",
17203
17643
  "specification": "specification",
17644
+ "deployment_config": "deploymentConfig",
17204
17645
  "endpoint_arn": "endpointArn",
17205
17646
  "inference_component_name": "inferenceComponentName",
17206
17647
  "runtime_config": "runtimeConfig",
@@ -17214,6 +17655,7 @@ class CfnInferenceComponentProps:
17214
17655
  *,
17215
17656
  endpoint_name: builtins.str,
17216
17657
  specification: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentSpecificationProperty, typing.Dict[builtins.str, typing.Any]]],
17658
+ deployment_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentDeploymentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
17217
17659
  endpoint_arn: typing.Optional[builtins.str] = None,
17218
17660
  inference_component_name: typing.Optional[builtins.str] = None,
17219
17661
  runtime_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRuntimeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -17224,6 +17666,7 @@ class CfnInferenceComponentProps:
17224
17666
 
17225
17667
  :param endpoint_name: The name of the endpoint that hosts the inference component.
17226
17668
  :param specification: The specification for the inference component.
17669
+ :param deployment_config: The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
17227
17670
  :param endpoint_arn: The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
17228
17671
  :param inference_component_name: The name of the inference component.
17229
17672
  :param runtime_config: The runtime config for the inference component.
@@ -17269,6 +17712,25 @@ class CfnInferenceComponentProps:
17269
17712
  ),
17270
17713
 
17271
17714
  # the properties below are optional
17715
+ deployment_config=sagemaker.CfnInferenceComponent.InferenceComponentDeploymentConfigProperty(
17716
+ auto_rollback_configuration=sagemaker.CfnInferenceComponent.AutoRollbackConfigurationProperty(
17717
+ alarms=[sagemaker.CfnInferenceComponent.AlarmProperty(
17718
+ alarm_name="alarmName"
17719
+ )]
17720
+ ),
17721
+ rolling_update_policy=sagemaker.CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty(
17722
+ maximum_batch_size=sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty(
17723
+ type="type",
17724
+ value=123
17725
+ ),
17726
+ maximum_execution_timeout_in_seconds=123,
17727
+ rollback_maximum_batch_size=sagemaker.CfnInferenceComponent.InferenceComponentCapacitySizeProperty(
17728
+ type="type",
17729
+ value=123
17730
+ ),
17731
+ wait_interval_in_seconds=123
17732
+ )
17733
+ ),
17272
17734
  endpoint_arn="endpointArn",
17273
17735
  inference_component_name="inferenceComponentName",
17274
17736
  runtime_config=sagemaker.CfnInferenceComponent.InferenceComponentRuntimeConfigProperty(
@@ -17287,6 +17749,7 @@ class CfnInferenceComponentProps:
17287
17749
  type_hints = typing.get_type_hints(_typecheckingstub__3926edf39d044760bb8195e9466dfa81ab70056fcc1e3a9053c6c3d90bcaaafa)
17288
17750
  check_type(argname="argument endpoint_name", value=endpoint_name, expected_type=type_hints["endpoint_name"])
17289
17751
  check_type(argname="argument specification", value=specification, expected_type=type_hints["specification"])
17752
+ check_type(argname="argument deployment_config", value=deployment_config, expected_type=type_hints["deployment_config"])
17290
17753
  check_type(argname="argument endpoint_arn", value=endpoint_arn, expected_type=type_hints["endpoint_arn"])
17291
17754
  check_type(argname="argument inference_component_name", value=inference_component_name, expected_type=type_hints["inference_component_name"])
17292
17755
  check_type(argname="argument runtime_config", value=runtime_config, expected_type=type_hints["runtime_config"])
@@ -17296,6 +17759,8 @@ class CfnInferenceComponentProps:
17296
17759
  "endpoint_name": endpoint_name,
17297
17760
  "specification": specification,
17298
17761
  }
17762
+ if deployment_config is not None:
17763
+ self._values["deployment_config"] = deployment_config
17299
17764
  if endpoint_arn is not None:
17300
17765
  self._values["endpoint_arn"] = endpoint_arn
17301
17766
  if inference_component_name is not None:
@@ -17329,6 +17794,17 @@ class CfnInferenceComponentProps:
17329
17794
  assert result is not None, "Required property 'specification' is missing"
17330
17795
  return typing.cast(typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentSpecificationProperty], result)
17331
17796
 
17797
+ @builtins.property
17798
+ def deployment_config(
17799
+ self,
17800
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentDeploymentConfigProperty]]:
17801
+ '''The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
17802
+
17803
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html#cfn-sagemaker-inferencecomponent-deploymentconfig
17804
+ '''
17805
+ result = self._values.get("deployment_config")
17806
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentDeploymentConfigProperty]], result)
17807
+
17332
17808
  @builtins.property
17333
17809
  def endpoint_arn(self) -> typing.Optional[builtins.str]:
17334
17810
  '''The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
@@ -51176,6 +51652,7 @@ def _typecheckingstub__3f4e5766b29b94468be54bb573abdb408c06e9ece9272100939b3c018
51176
51652
  *,
51177
51653
  endpoint_name: builtins.str,
51178
51654
  specification: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentSpecificationProperty, typing.Dict[builtins.str, typing.Any]]],
51655
+ deployment_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentDeploymentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
51179
51656
  endpoint_arn: typing.Optional[builtins.str] = None,
51180
51657
  inference_component_name: typing.Optional[builtins.str] = None,
51181
51658
  runtime_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRuntimeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -51209,6 +51686,12 @@ def _typecheckingstub__0adfcd5be0b7e042e0a87c6ccfbe4b53fc4803e5b7da8ad8951b7875f
51209
51686
  """Type checking stubs"""
51210
51687
  pass
51211
51688
 
51689
+ def _typecheckingstub__e199bdfdfc0d9fd1ee6e1e738627e42cbf742196ce04c25062153cb3351b483d(
51690
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentDeploymentConfigProperty]],
51691
+ ) -> None:
51692
+ """Type checking stubs"""
51693
+ pass
51694
+
51212
51695
  def _typecheckingstub__6177c630f46f5680f400bfc08061f6f7a9f5f1e1736976ebe24194a8378cbb9c(
51213
51696
  value: typing.Optional[builtins.str],
51214
51697
  ) -> None:
@@ -51239,6 +51722,20 @@ def _typecheckingstub__ca03af9ff83216f8a0636af33c0e4a7a2eb600513b2eed7eb75f08215
51239
51722
  """Type checking stubs"""
51240
51723
  pass
51241
51724
 
51725
+ def _typecheckingstub__c2e57d9659cdb5d7e18be641744517d4d5f2d248d3f33ad5971d10def8f016e8(
51726
+ *,
51727
+ alarm_name: builtins.str,
51728
+ ) -> None:
51729
+ """Type checking stubs"""
51730
+ pass
51731
+
51732
+ def _typecheckingstub__b45c128e4eb34d277b6582f23b7a23327ba1c7a555322e894c50830f7e239c67(
51733
+ *,
51734
+ alarms: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.AlarmProperty, typing.Dict[builtins.str, typing.Any]]]]],
51735
+ ) -> None:
51736
+ """Type checking stubs"""
51737
+ pass
51738
+
51242
51739
  def _typecheckingstub__c27834d414a93bc1a61027191b0a24b7e6f65578d28266dfd21a6ed1a5a85ee1(
51243
51740
  *,
51244
51741
  resolution_time: typing.Optional[builtins.str] = None,
@@ -51248,6 +51745,14 @@ def _typecheckingstub__c27834d414a93bc1a61027191b0a24b7e6f65578d28266dfd21a6ed1a
51248
51745
  """Type checking stubs"""
51249
51746
  pass
51250
51747
 
51748
+ def _typecheckingstub__70eb38a8a5ac51cd3be509b73d5f6b909e71847b744359bf2883142f67c4b907(
51749
+ *,
51750
+ type: builtins.str,
51751
+ value: jsii.Number,
51752
+ ) -> None:
51753
+ """Type checking stubs"""
51754
+ pass
51755
+
51251
51756
  def _typecheckingstub__c434e562757acaaae52cb6bda4572fad68492cf9a55f32d82b5e11d8f3897a91(
51252
51757
  *,
51253
51758
  max_memory_required_in_mb: typing.Optional[jsii.Number] = None,
@@ -51268,6 +51773,24 @@ def _typecheckingstub__f5aed592935acb4ecc3dffe218101a8b9053d16d99e4a24219409fd2b
51268
51773
  """Type checking stubs"""
51269
51774
  pass
51270
51775
 
51776
+ def _typecheckingstub__a70516845877d0ca21bee7e4344b7ffa9a86cd8096f492bb70c79806a615c46e(
51777
+ *,
51778
+ auto_rollback_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.AutoRollbackConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
51779
+ rolling_update_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRollingUpdatePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
51780
+ ) -> None:
51781
+ """Type checking stubs"""
51782
+ pass
51783
+
51784
+ def _typecheckingstub__c626e94952abf2565084b39891edffe84148acd4b940cec44a36bb89dceed0fa(
51785
+ *,
51786
+ maximum_batch_size: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentCapacitySizeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
51787
+ maximum_execution_timeout_in_seconds: typing.Optional[jsii.Number] = None,
51788
+ rollback_maximum_batch_size: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentCapacitySizeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
51789
+ wait_interval_in_seconds: typing.Optional[jsii.Number] = None,
51790
+ ) -> None:
51791
+ """Type checking stubs"""
51792
+ pass
51793
+
51271
51794
  def _typecheckingstub__63c5c7c37d4a557d84dc45694cd00ae845f319a810bc817c50db41e7d063109f(
51272
51795
  *,
51273
51796
  copy_count: typing.Optional[jsii.Number] = None,
@@ -51300,6 +51823,7 @@ def _typecheckingstub__3926edf39d044760bb8195e9466dfa81ab70056fcc1e3a9053c6c3d90
51300
51823
  *,
51301
51824
  endpoint_name: builtins.str,
51302
51825
  specification: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentSpecificationProperty, typing.Dict[builtins.str, typing.Any]]],
51826
+ deployment_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentDeploymentConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
51303
51827
  endpoint_arn: typing.Optional[builtins.str] = None,
51304
51828
  inference_component_name: typing.Optional[builtins.str] = None,
51305
51829
  runtime_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRuntimeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,