aws-cdk-lib 2.160.0__py3-none-any.whl → 2.161.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +21 -14
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.160.0.jsii.tgz → aws-cdk-lib@2.161.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +13 -14
- aws_cdk/aws_autoscaling/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +2283 -672
- aws_cdk/aws_batch/__init__.py +9 -5
- aws_cdk/aws_bedrock/__init__.py +52 -20
- aws_cdk/aws_cloudformation/__init__.py +9 -9
- aws_cdk/aws_cloudtrail/__init__.py +97 -183
- aws_cdk/aws_cloudwatch/__init__.py +38 -42
- aws_cdk/aws_datasync/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +114 -8
- aws_cdk/aws_ecs/__init__.py +513 -2
- aws_cdk/aws_eks/__init__.py +118 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +5 -3
- aws_cdk/aws_glue/__init__.py +386 -0
- aws_cdk/aws_iotfleetwise/__init__.py +49 -49
- aws_cdk/aws_iottwinmaker/__init__.py +4 -4
- aws_cdk/aws_iotwireless/__init__.py +2 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +52 -76
- aws_cdk/aws_lambda/__init__.py +383 -244
- aws_cdk/aws_logs/__init__.py +431 -3
- aws_cdk/aws_mediaconnect/__init__.py +6 -4
- aws_cdk/aws_medialive/__init__.py +36 -0
- aws_cdk/aws_organizations/__init__.py +4 -3
- aws_cdk/aws_pipes/__init__.py +2 -2
- aws_cdk/aws_quicksight/__init__.py +1086 -6
- aws_cdk/aws_rds/__init__.py +158 -3
- aws_cdk/aws_route53resolver/__init__.py +3 -17
- aws_cdk/aws_s3/__init__.py +20 -11
- aws_cdk/aws_s3_deployment/__init__.py +45 -0
- aws_cdk/aws_s3express/__init__.py +314 -4
- aws_cdk/aws_sagemaker/__init__.py +44 -4
- aws_cdk/aws_secretsmanager/__init__.py +14 -7
- aws_cdk/aws_securityhub/__init__.py +16 -14
- aws_cdk/aws_ses/__init__.py +52 -18
- aws_cdk/aws_sqs/__init__.py +16 -14
- aws_cdk/aws_ssm/__init__.py +6 -2
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_waf/__init__.py +33 -22
- aws_cdk/aws_wafregional/__init__.py +36 -24
- aws_cdk/aws_workspacesweb/__init__.py +54 -3
- aws_cdk/cloudformation_include/__init__.py +28 -0
- aws_cdk/cx_api/__init__.py +50 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/RECORD +51 -51
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_batch/__init__.py
CHANGED
|
@@ -3548,7 +3548,7 @@ class CfnJobDefinition(
|
|
|
3548
3548
|
) -> None:
|
|
3549
3549
|
'''An object that contains the properties for the Amazon ECS resources of a job.
|
|
3550
3550
|
|
|
3551
|
-
:param task_properties: An object that contains the properties for the Amazon ECS task definition of a job. .. epigraph:: This object is currently limited to one element.
|
|
3551
|
+
:param task_properties: An object that contains the properties for the Amazon ECS task definition of a job. .. epigraph:: This object is currently limited to one task element. However, the task element can run up to 10 containers.
|
|
3552
3552
|
|
|
3553
3553
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html
|
|
3554
3554
|
:exampleMetadata: fixture=_generated
|
|
@@ -3682,7 +3682,7 @@ class CfnJobDefinition(
|
|
|
3682
3682
|
|
|
3683
3683
|
.. epigraph::
|
|
3684
3684
|
|
|
3685
|
-
This object is currently limited to one element.
|
|
3685
|
+
This object is currently limited to one task element. However, the task element can run up to 10 containers.
|
|
3686
3686
|
|
|
3687
3687
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html#cfn-batch-jobdefinition-ecsproperties-taskproperties
|
|
3688
3688
|
'''
|
|
@@ -6837,11 +6837,11 @@ class CfnJobDefinition(
|
|
|
6837
6837
|
) -> None:
|
|
6838
6838
|
'''The properties for the pod.
|
|
6839
6839
|
|
|
6840
|
-
:param containers: The properties of the container that's used on the Amazon EKS pod.
|
|
6840
|
+
:param containers: The properties of the container that's used on the Amazon EKS pod. .. epigraph:: This object is limited to 10 elements.
|
|
6841
6841
|
:param dns_policy: The DNS policy for the pod. The default value is ``ClusterFirst`` . If the ``hostNetwork`` parameter is not specified, the default is ``ClusterFirstWithHostNet`` . ``ClusterFirst`` indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see `Pod's DNS policy <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy>`_ in the *Kubernetes documentation* . Valid values: ``Default`` | ``ClusterFirst`` | ``ClusterFirstWithHostNet``
|
|
6842
6842
|
:param host_network: Indicates if the pod uses the hosts' network IP address. The default value is ``true`` . Setting this to ``false`` enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. For more information, see `Host namespaces <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces>`_ and `Pod networking <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking>`_ in the *Kubernetes documentation* .
|
|
6843
6843
|
:param image_pull_secrets:
|
|
6844
|
-
:param init_containers: These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see `Init Containers <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/init-containers/>`_ in the *Kubernetes documentation* . .. epigraph:: This object is limited to 10 elements
|
|
6844
|
+
:param init_containers: These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see `Init Containers <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/init-containers/>`_ in the *Kubernetes documentation* . .. epigraph:: This object is limited to 10 elements.
|
|
6845
6845
|
:param metadata: Metadata about the Kubernetes pod. For more information, see `Understanding Kubernetes Objects <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/>`_ in the *Kubernetes documentation* .
|
|
6846
6846
|
:param service_account_name: The name of the service account that's used to run the pod. For more information, see `Kubernetes service accounts <https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html>`_ and `Configure a Kubernetes service account to assume an IAM role <https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html>`_ in the *Amazon EKS User Guide* and `Configure service accounts for pods <https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/>`_ in the *Kubernetes documentation* .
|
|
6847
6847
|
:param share_process_namespace: Indicates if the processes in a container are shared, or visible, to other containers in the same pod. For more information, see `Share Process Namespace between Containers in a Pod <https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/>`_ .
|
|
@@ -6992,6 +6992,10 @@ class CfnJobDefinition(
|
|
|
6992
6992
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EksContainerProperty"]]]]:
|
|
6993
6993
|
'''The properties of the container that's used on the Amazon EKS pod.
|
|
6994
6994
|
|
|
6995
|
+
.. epigraph::
|
|
6996
|
+
|
|
6997
|
+
This object is limited to 10 elements.
|
|
6998
|
+
|
|
6995
6999
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-containers
|
|
6996
7000
|
'''
|
|
6997
7001
|
result = self._values.get("containers")
|
|
@@ -7042,7 +7046,7 @@ class CfnJobDefinition(
|
|
|
7042
7046
|
These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see `Init Containers <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/init-containers/>`_ in the *Kubernetes documentation* .
|
|
7043
7047
|
.. epigraph::
|
|
7044
7048
|
|
|
7045
|
-
This object is limited to 10 elements
|
|
7049
|
+
This object is limited to 10 elements.
|
|
7046
7050
|
|
|
7047
7051
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-initcontainers
|
|
7048
7052
|
'''
|
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -8788,7 +8788,7 @@ class CfnFlow(
|
|
|
8788
8788
|
This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see `Node types in Amazon Bedrock works <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
8789
8789
|
|
|
8790
8790
|
:param knowledge_base_id: The unique identifier of the knowledge base to query.
|
|
8791
|
-
:param model_id: The unique identifier of the model to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
|
|
8791
|
+
:param model_id: The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
|
|
8792
8792
|
|
|
8793
8793
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html
|
|
8794
8794
|
:exampleMetadata: fixture=_generated
|
|
@@ -8828,9 +8828,7 @@ class CfnFlow(
|
|
|
8828
8828
|
|
|
8829
8829
|
@builtins.property
|
|
8830
8830
|
def model_id(self) -> typing.Optional[builtins.str]:
|
|
8831
|
-
'''The unique identifier of the model to use to generate a response from the query results.
|
|
8832
|
-
|
|
8833
|
-
Omit this field if you want to return the retrieved results as an array.
|
|
8831
|
+
'''The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
|
|
8834
8832
|
|
|
8835
8833
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-knowledgebaseflownodeconfiguration.html#cfn-bedrock-flow-knowledgebaseflownodeconfiguration-modelid
|
|
8836
8834
|
'''
|
|
@@ -9085,7 +9083,7 @@ class CfnFlow(
|
|
|
9085
9083
|
) -> None:
|
|
9086
9084
|
'''Contains configurations for a prompt defined inline in the node.
|
|
9087
9085
|
|
|
9088
|
-
:param model_id: The unique identifier of the model to run inference with.
|
|
9086
|
+
:param model_id: The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ to run inference with.
|
|
9089
9087
|
:param template_configuration: Contains a prompt and variables in the prompt that can be replaced with values at runtime.
|
|
9090
9088
|
:param template_type: The type of prompt template.
|
|
9091
9089
|
:param inference_configuration: Contains inference configurations for the prompt.
|
|
@@ -9141,7 +9139,7 @@ class CfnFlow(
|
|
|
9141
9139
|
|
|
9142
9140
|
@builtins.property
|
|
9143
9141
|
def model_id(self) -> builtins.str:
|
|
9144
|
-
'''The unique identifier of the model to run inference with.
|
|
9142
|
+
'''The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ to run inference with.
|
|
9145
9143
|
|
|
9146
9144
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodeinlineconfiguration.html#cfn-bedrock-flow-promptflownodeinlineconfiguration-modelid
|
|
9147
9145
|
'''
|
|
@@ -12585,7 +12583,7 @@ class CfnFlowVersion(
|
|
|
12585
12583
|
This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see `Node types in Amazon Bedrock works <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
12586
12584
|
|
|
12587
12585
|
:param knowledge_base_id: The unique identifier of the knowledge base to query.
|
|
12588
|
-
:param model_id: The unique identifier of the model to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
|
|
12586
|
+
:param model_id: The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
|
|
12589
12587
|
|
|
12590
12588
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration.html
|
|
12591
12589
|
:exampleMetadata: fixture=_generated
|
|
@@ -12625,9 +12623,7 @@ class CfnFlowVersion(
|
|
|
12625
12623
|
|
|
12626
12624
|
@builtins.property
|
|
12627
12625
|
def model_id(self) -> typing.Optional[builtins.str]:
|
|
12628
|
-
'''The unique identifier of the model to use to generate a response from the query results.
|
|
12629
|
-
|
|
12630
|
-
Omit this field if you want to return the retrieved results as an array.
|
|
12626
|
+
'''The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
|
|
12631
12627
|
|
|
12632
12628
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration.html#cfn-bedrock-flowversion-knowledgebaseflownodeconfiguration-modelid
|
|
12633
12629
|
'''
|
|
@@ -12882,7 +12878,7 @@ class CfnFlowVersion(
|
|
|
12882
12878
|
) -> None:
|
|
12883
12879
|
'''Contains configurations for a prompt defined inline in the node.
|
|
12884
12880
|
|
|
12885
|
-
:param model_id: The unique identifier of the model to run inference with.
|
|
12881
|
+
:param model_id: The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ to run inference with.
|
|
12886
12882
|
:param template_configuration: Contains a prompt and variables in the prompt that can be replaced with values at runtime.
|
|
12887
12883
|
:param template_type: The type of prompt template.
|
|
12888
12884
|
:param inference_configuration: Contains inference configurations for the prompt.
|
|
@@ -12938,7 +12934,7 @@ class CfnFlowVersion(
|
|
|
12938
12934
|
|
|
12939
12935
|
@builtins.property
|
|
12940
12936
|
def model_id(self) -> builtins.str:
|
|
12941
|
-
'''The unique identifier of the model to run inference with.
|
|
12937
|
+
'''The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ to run inference with.
|
|
12942
12938
|
|
|
12943
12939
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-promptflownodeinlineconfiguration.html#cfn-bedrock-flowversion-promptflownodeinlineconfiguration-modelid
|
|
12944
12940
|
'''
|
|
@@ -16095,7 +16091,7 @@ class CfnKnowledgeBase(
|
|
|
16095
16091
|
@builtins.property
|
|
16096
16092
|
@jsii.member(jsii_name="attrCreatedAt")
|
|
16097
16093
|
def attr_created_at(self) -> builtins.str:
|
|
16098
|
-
'''The time
|
|
16094
|
+
'''The time the knowledge base was created.
|
|
16099
16095
|
|
|
16100
16096
|
:cloudformationAttribute: CreatedAt
|
|
16101
16097
|
'''
|
|
@@ -16140,7 +16136,7 @@ class CfnKnowledgeBase(
|
|
|
16140
16136
|
@builtins.property
|
|
16141
16137
|
@jsii.member(jsii_name="attrUpdatedAt")
|
|
16142
16138
|
def attr_updated_at(self) -> builtins.str:
|
|
16143
|
-
'''The time
|
|
16139
|
+
'''The time the knowledge base was last updated.
|
|
16144
16140
|
|
|
16145
16141
|
:cloudformationAttribute: UpdatedAt
|
|
16146
16142
|
'''
|
|
@@ -16383,7 +16379,7 @@ class CfnKnowledgeBase(
|
|
|
16383
16379
|
For more information, see `Knowledge base retrieval configurations <https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html#session-state-kb>`_ .
|
|
16384
16380
|
|
|
16385
16381
|
:param type: The type of data that the data source is converted into for the knowledge base.
|
|
16386
|
-
:param vector_knowledge_base_configuration: Contains details about the
|
|
16382
|
+
:param vector_knowledge_base_configuration: Contains details about the model that's used to convert the data source into vector embeddings.
|
|
16387
16383
|
|
|
16388
16384
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebaseconfiguration.html
|
|
16389
16385
|
:exampleMetadata: fixture=_generated
|
|
@@ -16431,7 +16427,7 @@ class CfnKnowledgeBase(
|
|
|
16431
16427
|
def vector_knowledge_base_configuration(
|
|
16432
16428
|
self,
|
|
16433
16429
|
) -> typing.Union[_IResolvable_da3f097b, "CfnKnowledgeBase.VectorKnowledgeBaseConfigurationProperty"]:
|
|
16434
|
-
'''Contains details about the
|
|
16430
|
+
'''Contains details about the model that's used to convert the data source into vector embeddings.
|
|
16435
16431
|
|
|
16436
16432
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebaseconfiguration.html#cfn-bedrock-knowledgebase-knowledgebaseconfiguration-vectorknowledgebaseconfiguration
|
|
16437
16433
|
'''
|
|
@@ -18107,7 +18103,7 @@ class CfnPrompt(
|
|
|
18107
18103
|
:param name: The name of the prompt variant.
|
|
18108
18104
|
:param template_type: The type of prompt template to use.
|
|
18109
18105
|
:param inference_configuration: Contains inference configurations for the prompt variant.
|
|
18110
|
-
:param model_id: The unique identifier of the model with which to run inference on the prompt.
|
|
18106
|
+
:param model_id: The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ with which to run inference on the prompt.
|
|
18111
18107
|
:param template_configuration: Contains configurations for the prompt template.
|
|
18112
18108
|
|
|
18113
18109
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptvariant.html
|
|
@@ -18202,7 +18198,7 @@ class CfnPrompt(
|
|
|
18202
18198
|
|
|
18203
18199
|
@builtins.property
|
|
18204
18200
|
def model_id(self) -> typing.Optional[builtins.str]:
|
|
18205
|
-
'''The unique identifier of the model with which to run inference on the prompt.
|
|
18201
|
+
'''The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ with which to run inference on the prompt.
|
|
18206
18202
|
|
|
18207
18203
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptvariant.html#cfn-bedrock-prompt-promptvariant-modelid
|
|
18208
18204
|
'''
|
|
@@ -19159,7 +19155,7 @@ class CfnPromptVersion(
|
|
|
19159
19155
|
:param name: The name of the prompt variant.
|
|
19160
19156
|
:param template_type: The type of prompt template to use.
|
|
19161
19157
|
:param inference_configuration: Contains inference configurations for the prompt variant.
|
|
19162
|
-
:param model_id: The unique identifier of the model with which to run inference on the prompt.
|
|
19158
|
+
:param model_id: The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ with which to run inference on the prompt.
|
|
19163
19159
|
:param template_configuration: Contains configurations for the prompt template.
|
|
19164
19160
|
|
|
19165
19161
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-promptvariant.html
|
|
@@ -19249,7 +19245,7 @@ class CfnPromptVersion(
|
|
|
19249
19245
|
|
|
19250
19246
|
@builtins.property
|
|
19251
19247
|
def model_id(self) -> typing.Optional[builtins.str]:
|
|
19252
|
-
'''The unique identifier of the model with which to run inference on the prompt.
|
|
19248
|
+
'''The unique identifier of the model or `inference profile <https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html>`_ with which to run inference on the prompt.
|
|
19253
19249
|
|
|
19254
19250
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-promptvariant.html#cfn-bedrock-promptversion-promptvariant-modelid
|
|
19255
19251
|
'''
|
|
@@ -19516,6 +19512,18 @@ class FoundationModelIdentifier(
|
|
|
19516
19512
|
'''Base model "ai21.j2-ultra".'''
|
|
19517
19513
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AI21_J2_ULTRA"))
|
|
19518
19514
|
|
|
19515
|
+
@jsii.python.classproperty
|
|
19516
|
+
@jsii.member(jsii_name="AI21_JAMBA_1_5_LARGE_V_1_0")
|
|
19517
|
+
def AI21_JAMBA_1_5_LARGE_V_1_0(cls) -> "FoundationModelIdentifier":
|
|
19518
|
+
'''Base model "ai21.jamba-1-5-large-v1:0".'''
|
|
19519
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AI21_JAMBA_1_5_LARGE_V_1_0"))
|
|
19520
|
+
|
|
19521
|
+
@jsii.python.classproperty
|
|
19522
|
+
@jsii.member(jsii_name="AI21_JAMBA_1_5_MINI_V_1_0")
|
|
19523
|
+
def AI21_JAMBA_1_5_MINI_V_1_0(cls) -> "FoundationModelIdentifier":
|
|
19524
|
+
'''Base model "ai21.jamba-1-5-mini-v1:0".'''
|
|
19525
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AI21_JAMBA_1_5_MINI_V_1_0"))
|
|
19526
|
+
|
|
19519
19527
|
@jsii.python.classproperty
|
|
19520
19528
|
@jsii.member(jsii_name="AI21_LABS_JURASSIC_2_MID_V1")
|
|
19521
19529
|
def AI21_LABS_JURASSIC_2_MID_V1(cls) -> "FoundationModelIdentifier":
|
|
@@ -19875,6 +19883,30 @@ class FoundationModelIdentifier(
|
|
|
19875
19883
|
'''Base model "meta.llama3-1-8b-instruct-v1:0".'''
|
|
19876
19884
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_3_1_8B_INSTRUCT_V1"))
|
|
19877
19885
|
|
|
19886
|
+
@jsii.python.classproperty
|
|
19887
|
+
@jsii.member(jsii_name="META_LLAMA_3_2_11B_INSTRUCT_V1")
|
|
19888
|
+
def META_LLAMA_3_2_11_B_INSTRUCT_V1(cls) -> "FoundationModelIdentifier":
|
|
19889
|
+
'''Base model "meta.llama3-2-11b-instruct-v1:0".'''
|
|
19890
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_3_2_11B_INSTRUCT_V1"))
|
|
19891
|
+
|
|
19892
|
+
@jsii.python.classproperty
|
|
19893
|
+
@jsii.member(jsii_name="META_LLAMA_3_2_1B_INSTRUCT_V1")
|
|
19894
|
+
def META_LLAMA_3_2_1_B_INSTRUCT_V1(cls) -> "FoundationModelIdentifier":
|
|
19895
|
+
'''Base model "meta.llama3-2-1b-instruct-v1:0".'''
|
|
19896
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_3_2_1B_INSTRUCT_V1"))
|
|
19897
|
+
|
|
19898
|
+
@jsii.python.classproperty
|
|
19899
|
+
@jsii.member(jsii_name="META_LLAMA_3_2_3B_INSTRUCT_V1")
|
|
19900
|
+
def META_LLAMA_3_2_3_B_INSTRUCT_V1(cls) -> "FoundationModelIdentifier":
|
|
19901
|
+
'''Base model "meta.llama3-2-3b-instruct-v1:0".'''
|
|
19902
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_3_2_3B_INSTRUCT_V1"))
|
|
19903
|
+
|
|
19904
|
+
@jsii.python.classproperty
|
|
19905
|
+
@jsii.member(jsii_name="META_LLAMA_3_2_90B_INSTRUCT_V1")
|
|
19906
|
+
def META_LLAMA_3_2_90_B_INSTRUCT_V1(cls) -> "FoundationModelIdentifier":
|
|
19907
|
+
'''Base model "meta.llama3-2-90b-instruct-v1:0".'''
|
|
19908
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_3_2_90B_INSTRUCT_V1"))
|
|
19909
|
+
|
|
19878
19910
|
@jsii.python.classproperty
|
|
19879
19911
|
@jsii.member(jsii_name="META_LLAMA_3_70_INSTRUCT_V1")
|
|
19880
19912
|
def META_LLAMA_3_70_INSTRUCT_V1(cls) -> "FoundationModelIdentifier":
|
|
@@ -485,10 +485,10 @@ class CfnHookTypeConfig(
|
|
|
485
485
|
'''
|
|
486
486
|
:param scope: Scope in which this resource is defined.
|
|
487
487
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
488
|
-
:param configuration: Specifies the activated hook type configuration, in this AWS account and AWS Region . You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
488
|
+
:param configuration: Specifies the activated hook type configuration, in this AWS account and AWS Region . You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
489
489
|
:param configuration_alias: Specifies the activated hook type configuration, in this AWS account and AWS Region . Defaults to ``default`` alias. Hook types currently support default configuration alias. Default: - "default"
|
|
490
|
-
:param type_arn: The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for. You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
491
|
-
:param type_name: The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` . You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
490
|
+
:param type_arn: The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for. You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
491
|
+
:param type_name: The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` . You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
492
492
|
'''
|
|
493
493
|
if __debug__:
|
|
494
494
|
type_hints = typing.get_type_hints(_typecheckingstub__1aa75e15214f256047fa6d0b79cceb9720316dd5d5524cca649ba63b4b4613e3)
|
|
@@ -621,10 +621,10 @@ class CfnHookTypeConfigProps:
|
|
|
621
621
|
) -> None:
|
|
622
622
|
'''Properties for defining a ``CfnHookTypeConfig``.
|
|
623
623
|
|
|
624
|
-
:param configuration: Specifies the activated hook type configuration, in this AWS account and AWS Region . You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
624
|
+
:param configuration: Specifies the activated hook type configuration, in this AWS account and AWS Region . You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
625
625
|
:param configuration_alias: Specifies the activated hook type configuration, in this AWS account and AWS Region . Defaults to ``default`` alias. Hook types currently support default configuration alias. Default: - "default"
|
|
626
|
-
:param type_arn: The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for. You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
627
|
-
:param type_name: The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` . You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
626
|
+
:param type_arn: The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for. You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
627
|
+
:param type_name: The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` . You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
628
628
|
|
|
629
629
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html
|
|
630
630
|
:exampleMetadata: fixture=_generated
|
|
@@ -664,7 +664,7 @@ class CfnHookTypeConfigProps:
|
|
|
664
664
|
def configuration(self) -> builtins.str:
|
|
665
665
|
'''Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
|
666
666
|
|
|
667
|
-
You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
667
|
+
You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
668
668
|
|
|
669
669
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-configuration
|
|
670
670
|
'''
|
|
@@ -689,7 +689,7 @@ class CfnHookTypeConfigProps:
|
|
|
689
689
|
def type_arn(self) -> typing.Optional[builtins.str]:
|
|
690
690
|
'''The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for.
|
|
691
691
|
|
|
692
|
-
You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
692
|
+
You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
693
693
|
|
|
694
694
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typearn
|
|
695
695
|
'''
|
|
@@ -702,7 +702,7 @@ class CfnHookTypeConfigProps:
|
|
|
702
702
|
|
|
703
703
|
Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` .
|
|
704
704
|
|
|
705
|
-
You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
705
|
+
You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
706
706
|
|
|
707
707
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typename
|
|
708
708
|
'''
|