aws-cdk-lib 2.132.1__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.132.1.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -10
- aws_cdk/aws_apigatewayv2/__init__.py +112 -6
- 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_applicationautoscaling/__init__.py +6 -6
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +10 -14
- aws_cdk/aws_b2bi/__init__.py +2 -42
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +2150 -1078
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +4 -4
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +20 -4
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +32 -10
- aws_cdk/aws_codepipeline/__init__.py +33 -11
- aws_cdk/aws_cognito/__init__.py +49 -44
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_controltower/__init__.py +4 -4
- 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 +590 -134
- aws_cdk/aws_ecs/__init__.py +29 -20
- aws_cdk/aws_ecs_patterns/__init__.py +52 -12
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +363 -62
- aws_cdk/aws_emr/__init__.py +7 -4
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_fsx/__init__.py +7 -7
- 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 +208 -198
- aws_cdk/aws_iotwireless/__init__.py +6 -5
- 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_lambda/__init__.py +16 -16
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +61 -18
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +1292 -216
- aws_cdk/aws_redshift/__init__.py +6 -3
- aws_cdk/aws_redshiftserverless/__init__.py +0 -157
- aws_cdk/aws_sagemaker/__init__.py +29 -9
- aws_cdk/aws_shield/__init__.py +7 -8
- aws_cdk/aws_ssm/__init__.py +15 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +476 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +516 -42
- aws_cdk/cx_api/__init__.py +34 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +69 -69
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.132.1.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
|
'''
|
|
@@ -6162,7 +6162,7 @@ class CfnDistribution(
|
|
|
6162
6162
|
:param custom_error_responses: A complex type that controls the following:. - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see `Customizing Error Responses <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html>`_ in the *Amazon CloudFront Developer Guide* .
|
|
6163
6163
|
:param custom_origin:
|
|
6164
6164
|
:param default_root_object: The object that you want CloudFront to request from your origin (for example, ``index.html`` ) when a viewer requests the root URL for your distribution ( ``https://www.example.com`` ) instead of an object in your distribution ( ``https://www.example.com/product-description.html`` ). Specifying a default root object avoids exposing the contents of your distribution. Specify only the object name, for example, ``index.html`` . Don't add a ``/`` before the object name. If you don't want to specify a default root object when you create a distribution, include an empty ``DefaultRootObject`` element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty ``DefaultRootObject`` element. To replace the default root object, update the distribution configuration and specify the new object. For more information about the default root object, see `Creating a Default Root Object <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html>`_ in the *Amazon CloudFront Developer Guide* . Default: - ""
|
|
6165
|
-
:param http_version: (Optional) Specify the
|
|
6165
|
+
:param http_version: (Optional) Specify the HTTP version(s) that you want viewers to use to communicate with CloudFront . The default value for new distributions is ``http1.1`` . For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI). For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see `Connection Migration <https://docs.aws.amazon.com/https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration>`_ at RFC 9000. For more information about supported TLSv1.3 ciphers, see `Supported protocols and ciphers between viewers and CloudFront <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html>`_ . Default: - "http1.1"
|
|
6166
6166
|
:param ipv6_enabled: If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify ``true`` . If you specify ``false`` , CloudFront responds to IPv6 DNS requests with the DNS response code ``NOERROR`` and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution. In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the ``IpAddress`` parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see `Creating a Signed URL Using a Custom Policy <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html>`_ in the *Amazon CloudFront Developer Guide* . If you're using an Amazon Route 53 AWS Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true: - You enable IPv6 for the distribution - You're using alternate domain names in the URLs for your objects For more information, see `Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html>`_ in the *Amazon Route 53 AWS Integration Developer Guide* . If you created a CNAME resource record set, either with Amazon Route 53 AWS Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.
|
|
6167
6167
|
:param logging: A complex type that controls whether access logs are written for the distribution. For more information about logging, see `Access Logs <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html>`_ in the *Amazon CloudFront Developer Guide* .
|
|
6168
6168
|
:param origin_groups: A complex type that contains information about origin groups for this distribution.
|
|
@@ -6571,7 +6571,7 @@ class CfnDistribution(
|
|
|
6571
6571
|
|
|
6572
6572
|
@builtins.property
|
|
6573
6573
|
def http_version(self) -> typing.Optional[builtins.str]:
|
|
6574
|
-
'''(Optional) Specify the
|
|
6574
|
+
'''(Optional) Specify the HTTP version(s) that you want viewers to use to communicate with CloudFront .
|
|
6575
6575
|
|
|
6576
6576
|
The default value for new distributions is ``http1.1`` .
|
|
6577
6577
|
|