aws-cdk-lib 2.133.0__py3-none-any.whl → 2.134.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.
- aws_cdk/__init__.py +9 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +105 -3
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
- aws_cdk/aws_appconfig/__init__.py +186 -8
- aws_cdk/aws_appintegrations/__init__.py +551 -0
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +6 -4
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +423 -73
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +2 -2
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +18 -0
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +21 -5
- aws_cdk/aws_codepipeline/__init__.py +24 -8
- aws_cdk/aws_cognito/__init__.py +41 -40
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_datasync/__init__.py +393 -13
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_docdbelastic/__init__.py +117 -0
- aws_cdk/aws_dynamodb/__init__.py +416 -5
- aws_cdk/aws_ec2/__init__.py +493 -93
- aws_cdk/aws_ecs/__init__.py +6 -4
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +359 -60
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_glue/__init__.py +137 -3
- aws_cdk/aws_iam/__init__.py +9 -10
- aws_cdk/aws_internetmonitor/__init__.py +85 -0
- aws_cdk/aws_iotsitewise/__init__.py +110 -50
- aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
- aws_cdk/aws_kendra/__init__.py +34 -24
- aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +19 -17
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +48 -14
- aws_cdk/aws_sagemaker/__init__.py +2 -2
- aws_cdk/aws_ssm/__init__.py +3 -3
- aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +96 -46
- aws_cdk/cx_api/__init__.py +17 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +56 -56
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -70,6 +70,30 @@ class FoundationModelIdentifier(
|
|
|
70
70
|
check_type(argname="argument model_id", value=model_id, expected_type=type_hints["model_id"])
|
|
71
71
|
jsii.create(self.__class__, self, [model_id])
|
|
72
72
|
|
|
73
|
+
@jsii.python.classproperty
|
|
74
|
+
@jsii.member(jsii_name="AI21_J2_GRANDE_INSTRUCT")
|
|
75
|
+
def AI21_J2_GRANDE_INSTRUCT(cls) -> "FoundationModelIdentifier":
|
|
76
|
+
'''Base model "ai21.j2-grande-instruct".'''
|
|
77
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AI21_J2_GRANDE_INSTRUCT"))
|
|
78
|
+
|
|
79
|
+
@jsii.python.classproperty
|
|
80
|
+
@jsii.member(jsii_name="AI21_J2_JUMBO_INSTRUCT")
|
|
81
|
+
def AI21_J2_JUMBO_INSTRUCT(cls) -> "FoundationModelIdentifier":
|
|
82
|
+
'''Base model "ai21.j2-jumbo-instruct".'''
|
|
83
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AI21_J2_JUMBO_INSTRUCT"))
|
|
84
|
+
|
|
85
|
+
@jsii.python.classproperty
|
|
86
|
+
@jsii.member(jsii_name="AI21_J2_MID")
|
|
87
|
+
def AI21_J2_MID(cls) -> "FoundationModelIdentifier":
|
|
88
|
+
'''Base model "ai21.j2-mid".'''
|
|
89
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AI21_J2_MID"))
|
|
90
|
+
|
|
91
|
+
@jsii.python.classproperty
|
|
92
|
+
@jsii.member(jsii_name="AI21_J2_ULTRA")
|
|
93
|
+
def AI21_J2_ULTRA(cls) -> "FoundationModelIdentifier":
|
|
94
|
+
'''Base model "ai21.j2-ultra".'''
|
|
95
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AI21_J2_ULTRA"))
|
|
96
|
+
|
|
73
97
|
@jsii.python.classproperty
|
|
74
98
|
@jsii.member(jsii_name="AI21_LABS_JURASSIC_2_MID_V1")
|
|
75
99
|
def AI21_LABS_JURASSIC_2_MID_V1(cls) -> "FoundationModelIdentifier":
|
|
@@ -82,6 +106,24 @@ class FoundationModelIdentifier(
|
|
|
82
106
|
'''Base model "ai21.j2-ultra-v1".'''
|
|
83
107
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AI21_LABS_JURASSIC_2_ULTRA_V1"))
|
|
84
108
|
|
|
109
|
+
@jsii.python.classproperty
|
|
110
|
+
@jsii.member(jsii_name="AMAZON_TITAN_EMBED_G1_TEXT_02")
|
|
111
|
+
def AMAZON_TITAN_EMBED_G1_TEXT_02(cls) -> "FoundationModelIdentifier":
|
|
112
|
+
'''Base model "amazon.titan-embed-g1-text-02".'''
|
|
113
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_EMBED_G1_TEXT_02"))
|
|
114
|
+
|
|
115
|
+
@jsii.python.classproperty
|
|
116
|
+
@jsii.member(jsii_name="AMAZON_TITAN_EMBED_IMAGE_V1_0")
|
|
117
|
+
def AMAZON_TITAN_EMBED_IMAGE_V1_0(cls) -> "FoundationModelIdentifier":
|
|
118
|
+
'''Base model "amazon.titan-embed-image-v1:0".'''
|
|
119
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_EMBED_IMAGE_V1_0"))
|
|
120
|
+
|
|
121
|
+
@jsii.python.classproperty
|
|
122
|
+
@jsii.member(jsii_name="AMAZON_TITAN_EMBED_TEXT_V1_2_8K")
|
|
123
|
+
def AMAZON_TITAN_EMBED_TEXT_V1_2_8_K(cls) -> "FoundationModelIdentifier":
|
|
124
|
+
'''Base model "amazon.titan-embed-text-v1:2:8k".'''
|
|
125
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_EMBED_TEXT_V1_2_8K"))
|
|
126
|
+
|
|
85
127
|
@jsii.python.classproperty
|
|
86
128
|
@jsii.member(jsii_name="AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1")
|
|
87
129
|
def AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1(cls) -> "FoundationModelIdentifier":
|
|
@@ -94,28 +136,75 @@ class FoundationModelIdentifier(
|
|
|
94
136
|
'''Base model "amazon.titan-image-generator-v1".'''
|
|
95
137
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_IMAGE_GENERATOR_G1_V1"))
|
|
96
138
|
|
|
139
|
+
@jsii.python.classproperty
|
|
140
|
+
@jsii.member(jsii_name="AMAZON_TITAN_IMAGE_GENERATOR_V1_0")
|
|
141
|
+
def AMAZON_TITAN_IMAGE_GENERATOR_V1_0(cls) -> "FoundationModelIdentifier":
|
|
142
|
+
'''Base model "amazon.titan-image-generator-v1:0".'''
|
|
143
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_IMAGE_GENERATOR_V1_0"))
|
|
144
|
+
|
|
97
145
|
@jsii.python.classproperty
|
|
98
146
|
@jsii.member(jsii_name="AMAZON_TITAN_MULTIMODAL_EMBEDDINGS_G1_V1")
|
|
99
147
|
def AMAZON_TITAN_MULTIMODAL_EMBEDDINGS_G1_V1(cls) -> "FoundationModelIdentifier":
|
|
100
148
|
'''Base model "amazon.titan-embed-image-v1".'''
|
|
101
149
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_MULTIMODAL_EMBEDDINGS_G1_V1"))
|
|
102
150
|
|
|
151
|
+
@jsii.python.classproperty
|
|
152
|
+
@jsii.member(jsii_name="AMAZON_TITAN_TEXT_EXPRESS_V1_0_8K")
|
|
153
|
+
def AMAZON_TITAN_TEXT_EXPRESS_V1_0_8_K(cls) -> "FoundationModelIdentifier":
|
|
154
|
+
'''Base model "amazon.titan-text-express-v1:0:8k".'''
|
|
155
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_TEXT_EXPRESS_V1_0_8K"))
|
|
156
|
+
|
|
103
157
|
@jsii.python.classproperty
|
|
104
158
|
@jsii.member(jsii_name="AMAZON_TITAN_TEXT_G1_EXPRESS_V1")
|
|
105
159
|
def AMAZON_TITAN_TEXT_G1_EXPRESS_V1(cls) -> "FoundationModelIdentifier":
|
|
106
160
|
'''Base model "amazon.titan-text-express-v1".'''
|
|
107
161
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_TEXT_G1_EXPRESS_V1"))
|
|
108
162
|
|
|
163
|
+
@jsii.python.classproperty
|
|
164
|
+
@jsii.member(jsii_name="AMAZON_TITAN_TEXT_LITE_V1")
|
|
165
|
+
def AMAZON_TITAN_TEXT_LITE_V1(cls) -> "FoundationModelIdentifier":
|
|
166
|
+
'''Base model "amazon.titan-text-lite-v1".'''
|
|
167
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_TEXT_LITE_V1"))
|
|
168
|
+
|
|
169
|
+
@jsii.python.classproperty
|
|
170
|
+
@jsii.member(jsii_name="AMAZON_TITAN_TEXT_LITE_V1_0_4K")
|
|
171
|
+
def AMAZON_TITAN_TEXT_LITE_V1_0_4_K(cls) -> "FoundationModelIdentifier":
|
|
172
|
+
'''Base model "amazon.titan-text-lite-v1:0:4k".'''
|
|
173
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_TEXT_LITE_V1_0_4K"))
|
|
174
|
+
|
|
175
|
+
@jsii.python.classproperty
|
|
176
|
+
@jsii.member(jsii_name="AMAZON_TITAN_TG1_LARGE")
|
|
177
|
+
def AMAZON_TITAN_TG1_LARGE(cls) -> "FoundationModelIdentifier":
|
|
178
|
+
'''Base model "amazon.titan-tg1-large".'''
|
|
179
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_TITAN_TG1_LARGE"))
|
|
180
|
+
|
|
181
|
+
@jsii.python.classproperty
|
|
182
|
+
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0")
|
|
183
|
+
def ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0(cls) -> "FoundationModelIdentifier":
|
|
184
|
+
'''Base model "anthropic.claude-3-sonnet-20240229-v1:0".'''
|
|
185
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0"))
|
|
186
|
+
|
|
109
187
|
@jsii.python.classproperty
|
|
110
188
|
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_INSTANT_V1")
|
|
111
189
|
def ANTHROPIC_CLAUDE_INSTANT_V1(cls) -> "FoundationModelIdentifier":
|
|
112
190
|
'''Base model "anthropic.claude-instant-v1".'''
|
|
113
191
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_INSTANT_V1"))
|
|
114
192
|
|
|
193
|
+
@jsii.python.classproperty
|
|
194
|
+
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_INSTANT_V1_2_100K")
|
|
195
|
+
def ANTHROPIC_CLAUDE_INSTANT_V1_2_100_K(cls) -> "FoundationModelIdentifier":
|
|
196
|
+
'''Base model "anthropic.claude-instant-v1:2:100k".'''
|
|
197
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_INSTANT_V1_2_100K"))
|
|
198
|
+
|
|
115
199
|
@jsii.python.classproperty
|
|
116
200
|
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_V1")
|
|
117
201
|
def ANTHROPIC_CLAUDE_V1(cls) -> "FoundationModelIdentifier":
|
|
118
|
-
'''Base model "anthropic.claude-v1".
|
|
202
|
+
'''(deprecated) Base model "anthropic.claude-v1".
|
|
203
|
+
|
|
204
|
+
:deprecated: use latest version of the model
|
|
205
|
+
|
|
206
|
+
:stability: deprecated
|
|
207
|
+
'''
|
|
119
208
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_V1"))
|
|
120
209
|
|
|
121
210
|
@jsii.python.classproperty
|
|
@@ -124,18 +213,54 @@ class FoundationModelIdentifier(
|
|
|
124
213
|
'''Base model "anthropic.claude-v2".'''
|
|
125
214
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_V2"))
|
|
126
215
|
|
|
216
|
+
@jsii.python.classproperty
|
|
217
|
+
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_V2_0_100K")
|
|
218
|
+
def ANTHROPIC_CLAUDE_V2_0_100_K(cls) -> "FoundationModelIdentifier":
|
|
219
|
+
'''Base model "anthropic.claude-v2:0:100k".'''
|
|
220
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_V2_0_100K"))
|
|
221
|
+
|
|
222
|
+
@jsii.python.classproperty
|
|
223
|
+
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_V2_0_18K")
|
|
224
|
+
def ANTHROPIC_CLAUDE_V2_0_18_K(cls) -> "FoundationModelIdentifier":
|
|
225
|
+
'''Base model "anthropic.claude-v2:0:18k".'''
|
|
226
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_V2_0_18K"))
|
|
227
|
+
|
|
127
228
|
@jsii.python.classproperty
|
|
128
229
|
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_V2_1")
|
|
129
230
|
def ANTHROPIC_CLAUDE_V2_1(cls) -> "FoundationModelIdentifier":
|
|
130
231
|
'''Base model "anthropic.claude-v2:1".'''
|
|
131
232
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_V2_1"))
|
|
132
233
|
|
|
234
|
+
@jsii.python.classproperty
|
|
235
|
+
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_V2_1_18K")
|
|
236
|
+
def ANTHROPIC_CLAUDE_V2_1_18_K(cls) -> "FoundationModelIdentifier":
|
|
237
|
+
'''Base model "anthropic.claude-v2:1:18k".'''
|
|
238
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_V2_1_18K"))
|
|
239
|
+
|
|
240
|
+
@jsii.python.classproperty
|
|
241
|
+
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_V2_1_200K")
|
|
242
|
+
def ANTHROPIC_CLAUDE_V2_1_200_K(cls) -> "FoundationModelIdentifier":
|
|
243
|
+
'''Base model "anthropic.claude-v2:1:200k".'''
|
|
244
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_V2_1_200K"))
|
|
245
|
+
|
|
246
|
+
@jsii.python.classproperty
|
|
247
|
+
@jsii.member(jsii_name="COHERE_COMMAND_LIGHT_TEXT_V14_7_4K")
|
|
248
|
+
def COHERE_COMMAND_LIGHT_TEXT_V14_7_4_K(cls) -> "FoundationModelIdentifier":
|
|
249
|
+
'''Base model "cohere.command-light-text-v14:7:4k".'''
|
|
250
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_COMMAND_LIGHT_TEXT_V14_7_4K"))
|
|
251
|
+
|
|
133
252
|
@jsii.python.classproperty
|
|
134
253
|
@jsii.member(jsii_name="COHERE_COMMAND_LIGHT_V14")
|
|
135
254
|
def COHERE_COMMAND_LIGHT_V14(cls) -> "FoundationModelIdentifier":
|
|
136
255
|
'''Base model "cohere.command-light-text-v14".'''
|
|
137
256
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_COMMAND_LIGHT_V14"))
|
|
138
257
|
|
|
258
|
+
@jsii.python.classproperty
|
|
259
|
+
@jsii.member(jsii_name="COHERE_COMMAND_TEXT_V14_7_4K")
|
|
260
|
+
def COHERE_COMMAND_TEXT_V14_7_4_K(cls) -> "FoundationModelIdentifier":
|
|
261
|
+
'''Base model "cohere.command-text-v14:7:4k".'''
|
|
262
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_COMMAND_TEXT_V14_7_4K"))
|
|
263
|
+
|
|
139
264
|
@jsii.python.classproperty
|
|
140
265
|
@jsii.member(jsii_name="COHERE_COMMAND_V14")
|
|
141
266
|
def COHERE_COMMAND_V14(cls) -> "FoundationModelIdentifier":
|
|
@@ -154,6 +279,42 @@ class FoundationModelIdentifier(
|
|
|
154
279
|
'''Base model "cohere.embed-multilingual-v3".'''
|
|
155
280
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_EMBED_MULTILINGUAL_V3"))
|
|
156
281
|
|
|
282
|
+
@jsii.python.classproperty
|
|
283
|
+
@jsii.member(jsii_name="META_LLAMA_2_13B_CHAT_V1_0_4K")
|
|
284
|
+
def META_LLAMA_2_13_B_CHAT_V1_0_4_K(cls) -> "FoundationModelIdentifier":
|
|
285
|
+
'''Base model "meta.llama2-13b-chat-v1:0:4k".'''
|
|
286
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_2_13B_CHAT_V1_0_4K"))
|
|
287
|
+
|
|
288
|
+
@jsii.python.classproperty
|
|
289
|
+
@jsii.member(jsii_name="META_LLAMA_2_13B_V1")
|
|
290
|
+
def META_LLAMA_2_13_B_V1(cls) -> "FoundationModelIdentifier":
|
|
291
|
+
'''Base model "meta.llama2-13b-v1".'''
|
|
292
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_2_13B_V1"))
|
|
293
|
+
|
|
294
|
+
@jsii.python.classproperty
|
|
295
|
+
@jsii.member(jsii_name="META_LLAMA_2_13B_V1_0_4K")
|
|
296
|
+
def META_LLAMA_2_13_B_V1_0_4_K(cls) -> "FoundationModelIdentifier":
|
|
297
|
+
'''Base model "meta.llama2-13b-v1:0:4k".'''
|
|
298
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_2_13B_V1_0_4K"))
|
|
299
|
+
|
|
300
|
+
@jsii.python.classproperty
|
|
301
|
+
@jsii.member(jsii_name="META_LLAMA_2_70B_CHAT_V1_0_4K")
|
|
302
|
+
def META_LLAMA_2_70_B_CHAT_V1_0_4_K(cls) -> "FoundationModelIdentifier":
|
|
303
|
+
'''Base model "meta.llama2-70b-chat-v1:0:4k".'''
|
|
304
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_2_70B_CHAT_V1_0_4K"))
|
|
305
|
+
|
|
306
|
+
@jsii.python.classproperty
|
|
307
|
+
@jsii.member(jsii_name="META_LLAMA_2_70B_V1")
|
|
308
|
+
def META_LLAMA_2_70_B_V1(cls) -> "FoundationModelIdentifier":
|
|
309
|
+
'''Base model "meta.llama2-70b-v1".'''
|
|
310
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_2_70B_V1"))
|
|
311
|
+
|
|
312
|
+
@jsii.python.classproperty
|
|
313
|
+
@jsii.member(jsii_name="META_LLAMA_2_70B_V1_0_4K")
|
|
314
|
+
def META_LLAMA_2_70_B_V1_0_4_K(cls) -> "FoundationModelIdentifier":
|
|
315
|
+
'''Base model "meta.llama2-70b-v1:0:4k".'''
|
|
316
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_2_70B_V1_0_4K"))
|
|
317
|
+
|
|
157
318
|
@jsii.python.classproperty
|
|
158
319
|
@jsii.member(jsii_name="META_LLAMA_2_CHAT_13B_V1")
|
|
159
320
|
def META_LLAMA_2_CHAT_13_B_V1(cls) -> "FoundationModelIdentifier":
|
|
@@ -166,10 +327,38 @@ class FoundationModelIdentifier(
|
|
|
166
327
|
'''Base model "meta.llama2-70b-chat-v1".'''
|
|
167
328
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "META_LLAMA_2_CHAT_70B_V1"))
|
|
168
329
|
|
|
330
|
+
@jsii.python.classproperty
|
|
331
|
+
@jsii.member(jsii_name="MISTRAL_MISTRAL_7B_INSTRUCT_V0_2")
|
|
332
|
+
def MISTRAL_MISTRAL_7_B_INSTRUCT_V0_2(cls) -> "FoundationModelIdentifier":
|
|
333
|
+
'''Base model "mistral.mistral-7b-instruct-v0:2".'''
|
|
334
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "MISTRAL_MISTRAL_7B_INSTRUCT_V0_2"))
|
|
335
|
+
|
|
336
|
+
@jsii.python.classproperty
|
|
337
|
+
@jsii.member(jsii_name="MISTRAL_MIXTRAL_8X7B_INSTRUCT_V0_1")
|
|
338
|
+
def MISTRAL_MIXTRAL_8_X7_B_INSTRUCT_V0_1(cls) -> "FoundationModelIdentifier":
|
|
339
|
+
'''Base model "mistral.mixtral-8x7b-instruct-v0:1".'''
|
|
340
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "MISTRAL_MIXTRAL_8X7B_INSTRUCT_V0_1"))
|
|
341
|
+
|
|
342
|
+
@jsii.python.classproperty
|
|
343
|
+
@jsii.member(jsii_name="STABILITY_STABLE_DIFFUSION_XL")
|
|
344
|
+
def STABILITY_STABLE_DIFFUSION_XL(cls) -> "FoundationModelIdentifier":
|
|
345
|
+
'''(deprecated) Base model "stability.stable-diffusion-xl".
|
|
346
|
+
|
|
347
|
+
:deprecated: use latest version of the model
|
|
348
|
+
|
|
349
|
+
:stability: deprecated
|
|
350
|
+
'''
|
|
351
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_STABLE_DIFFUSION_XL"))
|
|
352
|
+
|
|
169
353
|
@jsii.python.classproperty
|
|
170
354
|
@jsii.member(jsii_name="STABILITY_STABLE_DIFFUSION_XL_V0")
|
|
171
355
|
def STABILITY_STABLE_DIFFUSION_XL_V0(cls) -> "FoundationModelIdentifier":
|
|
172
|
-
'''Base model "stability.stable-diffusion-xl-v0".
|
|
356
|
+
'''(deprecated) Base model "stability.stable-diffusion-xl-v0".
|
|
357
|
+
|
|
358
|
+
:deprecated: use latest version of the model
|
|
359
|
+
|
|
360
|
+
:stability: deprecated
|
|
361
|
+
'''
|
|
173
362
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_STABLE_DIFFUSION_XL_V0"))
|
|
174
363
|
|
|
175
364
|
@jsii.python.classproperty
|
|
@@ -178,6 +367,12 @@ class FoundationModelIdentifier(
|
|
|
178
367
|
'''Base model "stability.stable-diffusion-xl-v1".'''
|
|
179
368
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_STABLE_DIFFUSION_XL_V1"))
|
|
180
369
|
|
|
370
|
+
@jsii.python.classproperty
|
|
371
|
+
@jsii.member(jsii_name="STABILITY_STABLE_DIFFUSION_XL_V1_0")
|
|
372
|
+
def STABILITY_STABLE_DIFFUSION_XL_V1_0(cls) -> "FoundationModelIdentifier":
|
|
373
|
+
'''Base model "stability.stable-diffusion-xl-v1:0".'''
|
|
374
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_STABLE_DIFFUSION_XL_V1_0"))
|
|
375
|
+
|
|
181
376
|
@builtins.property
|
|
182
377
|
@jsii.member(jsii_name="modelId")
|
|
183
378
|
def model_id(self) -> builtins.str:
|
|
@@ -5163,7 +5163,7 @@ class CfnTypeActivation(
|
|
|
5163
5163
|
|
|
5164
5164
|
For more information, see `Using public extensions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html>`_ in the *AWS CloudFormation User Guide* .
|
|
5165
5165
|
|
|
5166
|
-
Once you have activated a public third-party extension in your account and Region, use `SetTypeConfiguration <https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html>`_ to specify configuration properties for the extension. For more information, see `Configuring extensions at the account level <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-
|
|
5166
|
+
Once you have activated a public third-party extension in your account and Region, use `SetTypeConfiguration <https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html>`_ to specify configuration properties for the extension. For more information, see `Configuring extensions at the account level <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-private.html#registry-set-configuration>`_ in the *CloudFormation User Guide* .
|
|
5167
5167
|
|
|
5168
5168
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-typeactivation.html
|
|
5169
5169
|
:cloudformationResource: AWS::CloudFormation::TypeActivation
|
|
@@ -4230,7 +4230,7 @@ class CfnContinuousDeploymentPolicy(
|
|
|
4230
4230
|
) -> None:
|
|
4231
4231
|
'''This configuration determines the percentage of HTTP requests that are sent to the staging distribution.
|
|
4232
4232
|
|
|
4233
|
-
:param weight: The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.
|
|
4233
|
+
:param weight: The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.
|
|
4234
4234
|
:param session_stickiness_config: Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.
|
|
4235
4235
|
|
|
4236
4236
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightconfig.html
|
|
@@ -4264,7 +4264,7 @@ class CfnContinuousDeploymentPolicy(
|
|
|
4264
4264
|
|
|
4265
4265
|
@builtins.property
|
|
4266
4266
|
def weight(self) -> jsii.Number:
|
|
4267
|
-
'''The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.
|
|
4267
|
+
'''The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.
|
|
4268
4268
|
|
|
4269
4269
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleweightconfig-weight
|
|
4270
4270
|
'''
|