aws-cdk-lib 2.155.0__py3-none-any.whl → 2.156.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 +2 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.155.0.jsii.tgz → aws-cdk-lib@2.156.0.jsii.tgz} +0 -0
- aws_cdk/aws_bedrock/__init__.py +22 -4
- aws_cdk/aws_cloudfront/__init__.py +650 -57
- aws_cdk/aws_cloudfront_origins/__init__.py +2034 -91
- aws_cdk/aws_codebuild/__init__.py +1 -1
- aws_cdk/aws_docdb/__init__.py +78 -6
- aws_cdk/aws_ec2/__init__.py +24 -26
- aws_cdk/aws_ecs/__init__.py +18 -14
- aws_cdk/aws_ecs_patterns/__init__.py +129 -11
- aws_cdk/aws_eks/__init__.py +40 -4
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +22 -46
- aws_cdk/aws_events/__init__.py +40 -14
- aws_cdk/aws_events_targets/__init__.py +357 -0
- aws_cdk/aws_iam/__init__.py +7 -8
- aws_cdk/aws_kms/__init__.py +53 -10
- aws_cdk/aws_rds/__init__.py +6 -0
- aws_cdk/aws_s3/__init__.py +13 -14
- aws_cdk/aws_stepfunctions_tasks/__init__.py +102 -41
- aws_cdk/aws_synthetics/__init__.py +13 -0
- aws_cdk/cx_api/__init__.py +16 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.156.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.156.0.dist-info}/RECORD +28 -28
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.156.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.156.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.156.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.156.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -2073,11 +2073,11 @@ class ArnComponents:
|
|
|
2073
2073
|
)
|
|
2074
2074
|
delegation_role = iam.Role.from_role_arn(self, "DelegationRole", delegation_role_arn)
|
|
2075
2075
|
|
|
2076
|
-
# create the record
|
|
2077
2076
|
route53.CrossAccountZoneDelegationRecord(self, "delegate",
|
|
2078
2077
|
delegated_zone=sub_zone,
|
|
2079
2078
|
parent_hosted_zone_name="someexample.com", # or you can use parentHostedZoneId
|
|
2080
|
-
delegation_role=delegation_role
|
|
2079
|
+
delegation_role=delegation_role,
|
|
2080
|
+
assume_role_region="us-east-1"
|
|
2081
2081
|
)
|
|
2082
2082
|
'''
|
|
2083
2083
|
if __debug__:
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -20,7 +20,7 @@ import aws_cdk.cloud_assembly_schema._jsii
|
|
|
20
20
|
import constructs._jsii
|
|
21
21
|
|
|
22
22
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
23
|
-
"aws-cdk-lib", "2.
|
|
23
|
+
"aws-cdk-lib", "2.156.0", __name__[0:-6], "aws-cdk-lib@2.156.0.jsii.tgz"
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
__all__ = [
|
|
Binary file
|
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -18160,8 +18160,8 @@ class FoundationModelIdentifier(
|
|
|
18160
18160
|
|
|
18161
18161
|
task = tasks.BedrockInvokeModel(self, "Prompt Model",
|
|
18162
18162
|
model=model,
|
|
18163
|
-
|
|
18164
|
-
|
|
18163
|
+
input=tasks.BedrockInvokeModelInputProps(s3_input_uri=sfn.JsonPath.string_at("$.prompt")),
|
|
18164
|
+
output=tasks.BedrockInvokeModelOutputProps(s3_output_uri=sfn.JsonPath.string_at("$.prompt"))
|
|
18165
18165
|
)
|
|
18166
18166
|
'''
|
|
18167
18167
|
|
|
@@ -18606,6 +18606,12 @@ class FoundationModelIdentifier(
|
|
|
18606
18606
|
'''Base model "mistral.mistral-small-2402-v1:0".'''
|
|
18607
18607
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "MISTRAL_SMALL_V0_1"))
|
|
18608
18608
|
|
|
18609
|
+
@jsii.python.classproperty
|
|
18610
|
+
@jsii.member(jsii_name="STABILITY_SD3_LARGE_V1_0")
|
|
18611
|
+
def STABILITY_SD3_LARGE_V1_0(cls) -> "FoundationModelIdentifier":
|
|
18612
|
+
'''Base model "stability.sd3-large-v1:0".'''
|
|
18613
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_SD3_LARGE_V1_0"))
|
|
18614
|
+
|
|
18609
18615
|
@jsii.python.classproperty
|
|
18610
18616
|
@jsii.member(jsii_name="STABILITY_STABLE_DIFFUSION_XL")
|
|
18611
18617
|
def STABILITY_STABLE_DIFFUSION_XL(cls) -> "FoundationModelIdentifier":
|
|
@@ -18640,6 +18646,18 @@ class FoundationModelIdentifier(
|
|
|
18640
18646
|
'''Base model "stability.stable-diffusion-xl-v1:0".'''
|
|
18641
18647
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_STABLE_DIFFUSION_XL_V1_0"))
|
|
18642
18648
|
|
|
18649
|
+
@jsii.python.classproperty
|
|
18650
|
+
@jsii.member(jsii_name="STABILITY_STABLE_IMAGE_CORE_V1_0")
|
|
18651
|
+
def STABILITY_STABLE_IMAGE_CORE_V1_0(cls) -> "FoundationModelIdentifier":
|
|
18652
|
+
'''Base model "stability.stable-image-core-v1:0".'''
|
|
18653
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_STABLE_IMAGE_CORE_V1_0"))
|
|
18654
|
+
|
|
18655
|
+
@jsii.python.classproperty
|
|
18656
|
+
@jsii.member(jsii_name="STABILITY_STABLE_IMAGE_ULTRA_V1_0")
|
|
18657
|
+
def STABILITY_STABLE_IMAGE_ULTRA_V1_0(cls) -> "FoundationModelIdentifier":
|
|
18658
|
+
'''Base model "stability.stable-image-ultra-v1:0".'''
|
|
18659
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "STABILITY_STABLE_IMAGE_ULTRA_V1_0"))
|
|
18660
|
+
|
|
18643
18661
|
@builtins.property
|
|
18644
18662
|
@jsii.member(jsii_name="modelId")
|
|
18645
18663
|
def model_id(self) -> builtins.str:
|
|
@@ -18755,8 +18773,8 @@ class FoundationModel(
|
|
|
18755
18773
|
|
|
18756
18774
|
task = tasks.BedrockInvokeModel(self, "Prompt Model",
|
|
18757
18775
|
model=model,
|
|
18758
|
-
|
|
18759
|
-
|
|
18776
|
+
input=tasks.BedrockInvokeModelInputProps(s3_input_uri=sfn.JsonPath.string_at("$.prompt")),
|
|
18777
|
+
output=tasks.BedrockInvokeModelOutputProps(s3_output_uri=sfn.JsonPath.string_at("$.prompt"))
|
|
18760
18778
|
)
|
|
18761
18779
|
'''
|
|
18762
18780
|
|