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 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.155.0", __name__[0:-6], "aws-cdk-lib@2.155.0.jsii.tgz"
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__ = [
@@ -18160,8 +18160,8 @@ class FoundationModelIdentifier(
18160
18160
 
18161
18161
  task = tasks.BedrockInvokeModel(self, "Prompt Model",
18162
18162
  model=model,
18163
- input_path=sfn.JsonPath.string_at("$.prompt"),
18164
- output_path=sfn.JsonPath.string_at("$.prompt")
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
- input_path=sfn.JsonPath.string_at("$.prompt"),
18759
- output_path=sfn.JsonPath.string_at("$.prompt")
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