aws-cdk-lib 2.90.0__py3-none-any.whl → 2.92.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 +22 -4
- aws_cdk/_jsii/__init__.py +2 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.90.0.jsii.tgz → aws-cdk-lib@2.92.0.jsii.tgz} +0 -0
- aws_cdk/aws_appstream/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +39 -18
- aws_cdk/aws_billingconductor/__init__.py +44 -13
- aws_cdk/aws_cleanrooms/__init__.py +2 -4
- aws_cdk/aws_cloudtrail/__init__.py +35 -10
- aws_cdk/aws_cloudwatch/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +7 -7
- aws_cdk/aws_cognito/__init__.py +8 -8
- aws_cdk/aws_config/__init__.py +220 -0
- aws_cdk/aws_datasync/__init__.py +22 -35
- aws_cdk/aws_dms/__init__.py +909 -4
- aws_cdk/aws_dynamodb/__init__.py +0 -1
- aws_cdk/aws_ec2/__init__.py +59 -21
- aws_cdk/aws_ecs/__init__.py +45 -21
- aws_cdk/aws_evidently/__init__.py +3 -3
- aws_cdk/aws_fsx/__init__.py +6 -5
- aws_cdk/aws_glue/__init__.py +438 -10
- aws_cdk/aws_guardduty/__init__.py +60 -17
- aws_cdk/aws_iam/__init__.py +8 -9
- aws_cdk/aws_iot/__init__.py +5 -1
- aws_cdk/aws_kms/__init__.py +95 -47
- aws_cdk/aws_lambda/__init__.py +4 -2
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_mediatailor/__init__.py +2902 -892
- aws_cdk/aws_mwaa/__init__.py +13 -8
- aws_cdk/aws_neptune/__init__.py +50 -2
- aws_cdk/aws_omics/__init__.py +80 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -3
- aws_cdk/aws_opensearchservice/__init__.py +247 -14
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +41 -25
- aws_cdk/aws_rds/__init__.py +24 -10
- aws_cdk/aws_resiliencehub/__init__.py +22 -22
- aws_cdk/aws_rolesanywhere/__init__.py +58 -74
- aws_cdk/aws_route53/__init__.py +3 -1
- aws_cdk/aws_s3/__init__.py +17 -7
- aws_cdk/aws_sagemaker/__init__.py +396 -5
- aws_cdk/aws_sns/__init__.py +8 -8
- aws_cdk/aws_sqs/__init__.py +231 -4
- aws_cdk/aws_ssm/__init__.py +6 -28
- aws_cdk/aws_stepfunctions/__init__.py +7 -7
- aws_cdk/aws_timestream/__init__.py +243 -0
- aws_cdk/aws_transfer/__init__.py +250 -52
- aws_cdk/aws_vpclattice/__init__.py +10 -6
- aws_cdk/aws_wafv2/__init__.py +7517 -5036
- aws_cdk/custom_resources/__init__.py +18 -30
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/METADATA +8 -8
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/RECORD +55 -55
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/top_level.txt +0 -0
|
@@ -11445,7 +11445,18 @@ class CfnImageVersion(
|
|
|
11445
11445
|
|
|
11446
11446
|
cfn_image_version = sagemaker.CfnImageVersion(self, "MyCfnImageVersion",
|
|
11447
11447
|
base_image="baseImage",
|
|
11448
|
-
image_name="imageName"
|
|
11448
|
+
image_name="imageName",
|
|
11449
|
+
|
|
11450
|
+
# the properties below are optional
|
|
11451
|
+
alias="alias",
|
|
11452
|
+
aliases=["aliases"],
|
|
11453
|
+
horovod=False,
|
|
11454
|
+
job_type="jobType",
|
|
11455
|
+
ml_framework="mlFramework",
|
|
11456
|
+
processor="processor",
|
|
11457
|
+
programming_lang="programmingLang",
|
|
11458
|
+
release_notes="releaseNotes",
|
|
11459
|
+
vendor_guidance="vendorGuidance"
|
|
11449
11460
|
)
|
|
11450
11461
|
'''
|
|
11451
11462
|
|
|
@@ -11456,18 +11467,48 @@ class CfnImageVersion(
|
|
|
11456
11467
|
*,
|
|
11457
11468
|
base_image: builtins.str,
|
|
11458
11469
|
image_name: builtins.str,
|
|
11470
|
+
alias: typing.Optional[builtins.str] = None,
|
|
11471
|
+
aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
11472
|
+
horovod: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11473
|
+
job_type: typing.Optional[builtins.str] = None,
|
|
11474
|
+
ml_framework: typing.Optional[builtins.str] = None,
|
|
11475
|
+
processor: typing.Optional[builtins.str] = None,
|
|
11476
|
+
programming_lang: typing.Optional[builtins.str] = None,
|
|
11477
|
+
release_notes: typing.Optional[builtins.str] = None,
|
|
11478
|
+
vendor_guidance: typing.Optional[builtins.str] = None,
|
|
11459
11479
|
) -> None:
|
|
11460
11480
|
'''
|
|
11461
11481
|
:param scope: Scope in which this resource is defined.
|
|
11462
11482
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
11463
11483
|
:param base_image: The container image that the SageMaker image version is based on. *Length Constraints* : Minimum length of 1. Maximum length of 255. *Pattern* : ``.*``
|
|
11464
11484
|
:param image_name: The name of the parent image. *Length Constraints* : Minimum length of 1. Maximum length of 63. *Pattern* : ``^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$``
|
|
11485
|
+
:param alias: The alias of the image version.
|
|
11486
|
+
:param aliases: List of aliases for the image version.
|
|
11487
|
+
:param horovod: Indicates Horovod compatibility.
|
|
11488
|
+
:param job_type: Indicates SageMaker job type compatibility.
|
|
11489
|
+
:param ml_framework: The machine learning framework vended in the image version.
|
|
11490
|
+
:param processor: Indicates CPU or GPU compatibility.
|
|
11491
|
+
:param programming_lang: The supported programming language and its version.
|
|
11492
|
+
:param release_notes: The maintainer description of the image version.
|
|
11493
|
+
:param vendor_guidance: The availability of the image version specified by the maintainer.
|
|
11465
11494
|
'''
|
|
11466
11495
|
if __debug__:
|
|
11467
11496
|
type_hints = typing.get_type_hints(_typecheckingstub__1ad8c361f2876657ea1cf0f0f9f7356de06575f95ad80d7a587da19094ecd39f)
|
|
11468
11497
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
11469
11498
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
11470
|
-
props = CfnImageVersionProps(
|
|
11499
|
+
props = CfnImageVersionProps(
|
|
11500
|
+
base_image=base_image,
|
|
11501
|
+
image_name=image_name,
|
|
11502
|
+
alias=alias,
|
|
11503
|
+
aliases=aliases,
|
|
11504
|
+
horovod=horovod,
|
|
11505
|
+
job_type=job_type,
|
|
11506
|
+
ml_framework=ml_framework,
|
|
11507
|
+
processor=processor,
|
|
11508
|
+
programming_lang=programming_lang,
|
|
11509
|
+
release_notes=release_notes,
|
|
11510
|
+
vendor_guidance=vendor_guidance,
|
|
11511
|
+
)
|
|
11471
11512
|
|
|
11472
11513
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
11473
11514
|
|
|
@@ -11574,18 +11615,175 @@ class CfnImageVersion(
|
|
|
11574
11615
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11575
11616
|
jsii.set(self, "imageName", value)
|
|
11576
11617
|
|
|
11618
|
+
@builtins.property
|
|
11619
|
+
@jsii.member(jsii_name="alias")
|
|
11620
|
+
def alias(self) -> typing.Optional[builtins.str]:
|
|
11621
|
+
'''The alias of the image version.'''
|
|
11622
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "alias"))
|
|
11623
|
+
|
|
11624
|
+
@alias.setter
|
|
11625
|
+
def alias(self, value: typing.Optional[builtins.str]) -> None:
|
|
11626
|
+
if __debug__:
|
|
11627
|
+
type_hints = typing.get_type_hints(_typecheckingstub__130335aafd8604a37bb0c6378189d323e11f1c9a8d9de59d6826369f2086fb54)
|
|
11628
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11629
|
+
jsii.set(self, "alias", value)
|
|
11630
|
+
|
|
11631
|
+
@builtins.property
|
|
11632
|
+
@jsii.member(jsii_name="aliases")
|
|
11633
|
+
def aliases(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
11634
|
+
'''List of aliases for the image version.'''
|
|
11635
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "aliases"))
|
|
11636
|
+
|
|
11637
|
+
@aliases.setter
|
|
11638
|
+
def aliases(self, value: typing.Optional[typing.List[builtins.str]]) -> None:
|
|
11639
|
+
if __debug__:
|
|
11640
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1b53841ef8f974620a34f1089ddd34dab945dc1cfc6214ff5c96805c28fee339)
|
|
11641
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11642
|
+
jsii.set(self, "aliases", value)
|
|
11643
|
+
|
|
11644
|
+
@builtins.property
|
|
11645
|
+
@jsii.member(jsii_name="horovod")
|
|
11646
|
+
def horovod(
|
|
11647
|
+
self,
|
|
11648
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
11649
|
+
'''Indicates Horovod compatibility.'''
|
|
11650
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "horovod"))
|
|
11651
|
+
|
|
11652
|
+
@horovod.setter
|
|
11653
|
+
def horovod(
|
|
11654
|
+
self,
|
|
11655
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
11656
|
+
) -> None:
|
|
11657
|
+
if __debug__:
|
|
11658
|
+
type_hints = typing.get_type_hints(_typecheckingstub__63b740d348bf3bc8f512963928cc212f67fef7490d5bc60dbf44641d8a8bba80)
|
|
11659
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11660
|
+
jsii.set(self, "horovod", value)
|
|
11661
|
+
|
|
11662
|
+
@builtins.property
|
|
11663
|
+
@jsii.member(jsii_name="jobType")
|
|
11664
|
+
def job_type(self) -> typing.Optional[builtins.str]:
|
|
11665
|
+
'''Indicates SageMaker job type compatibility.'''
|
|
11666
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "jobType"))
|
|
11667
|
+
|
|
11668
|
+
@job_type.setter
|
|
11669
|
+
def job_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
11670
|
+
if __debug__:
|
|
11671
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4325909e50b32e3c971c803ff8d527558eaf27440a7e1eecd39347ec829edf7e)
|
|
11672
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11673
|
+
jsii.set(self, "jobType", value)
|
|
11674
|
+
|
|
11675
|
+
@builtins.property
|
|
11676
|
+
@jsii.member(jsii_name="mlFramework")
|
|
11677
|
+
def ml_framework(self) -> typing.Optional[builtins.str]:
|
|
11678
|
+
'''The machine learning framework vended in the image version.'''
|
|
11679
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "mlFramework"))
|
|
11680
|
+
|
|
11681
|
+
@ml_framework.setter
|
|
11682
|
+
def ml_framework(self, value: typing.Optional[builtins.str]) -> None:
|
|
11683
|
+
if __debug__:
|
|
11684
|
+
type_hints = typing.get_type_hints(_typecheckingstub__81d68f0650f7bba3ce23357345acab3a7f8c2473cb1f04dd8ec3718f4ad3f061)
|
|
11685
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11686
|
+
jsii.set(self, "mlFramework", value)
|
|
11687
|
+
|
|
11688
|
+
@builtins.property
|
|
11689
|
+
@jsii.member(jsii_name="processor")
|
|
11690
|
+
def processor(self) -> typing.Optional[builtins.str]:
|
|
11691
|
+
'''Indicates CPU or GPU compatibility.'''
|
|
11692
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "processor"))
|
|
11693
|
+
|
|
11694
|
+
@processor.setter
|
|
11695
|
+
def processor(self, value: typing.Optional[builtins.str]) -> None:
|
|
11696
|
+
if __debug__:
|
|
11697
|
+
type_hints = typing.get_type_hints(_typecheckingstub__51796dc1c41721e2403c8fcaf57981fc62e4d27583b46f696048e71c11c42217)
|
|
11698
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11699
|
+
jsii.set(self, "processor", value)
|
|
11700
|
+
|
|
11701
|
+
@builtins.property
|
|
11702
|
+
@jsii.member(jsii_name="programmingLang")
|
|
11703
|
+
def programming_lang(self) -> typing.Optional[builtins.str]:
|
|
11704
|
+
'''The supported programming language and its version.'''
|
|
11705
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "programmingLang"))
|
|
11706
|
+
|
|
11707
|
+
@programming_lang.setter
|
|
11708
|
+
def programming_lang(self, value: typing.Optional[builtins.str]) -> None:
|
|
11709
|
+
if __debug__:
|
|
11710
|
+
type_hints = typing.get_type_hints(_typecheckingstub__558e00760dafdf270030f6c74f7af644a9073b029f802c09baf4ca45a0f96579)
|
|
11711
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11712
|
+
jsii.set(self, "programmingLang", value)
|
|
11713
|
+
|
|
11714
|
+
@builtins.property
|
|
11715
|
+
@jsii.member(jsii_name="releaseNotes")
|
|
11716
|
+
def release_notes(self) -> typing.Optional[builtins.str]:
|
|
11717
|
+
'''The maintainer description of the image version.'''
|
|
11718
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "releaseNotes"))
|
|
11719
|
+
|
|
11720
|
+
@release_notes.setter
|
|
11721
|
+
def release_notes(self, value: typing.Optional[builtins.str]) -> None:
|
|
11722
|
+
if __debug__:
|
|
11723
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fdda2091c290a3c94f3594803b8ff7d3846931cb6976f4fbe76584d69581fac1)
|
|
11724
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11725
|
+
jsii.set(self, "releaseNotes", value)
|
|
11726
|
+
|
|
11727
|
+
@builtins.property
|
|
11728
|
+
@jsii.member(jsii_name="vendorGuidance")
|
|
11729
|
+
def vendor_guidance(self) -> typing.Optional[builtins.str]:
|
|
11730
|
+
'''The availability of the image version specified by the maintainer.'''
|
|
11731
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "vendorGuidance"))
|
|
11732
|
+
|
|
11733
|
+
@vendor_guidance.setter
|
|
11734
|
+
def vendor_guidance(self, value: typing.Optional[builtins.str]) -> None:
|
|
11735
|
+
if __debug__:
|
|
11736
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5382fea0d28fb1b1a6c04307334e93f65dd93058c962443126e5776048b93ac6)
|
|
11737
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
11738
|
+
jsii.set(self, "vendorGuidance", value)
|
|
11739
|
+
|
|
11577
11740
|
|
|
11578
11741
|
@jsii.data_type(
|
|
11579
11742
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnImageVersionProps",
|
|
11580
11743
|
jsii_struct_bases=[],
|
|
11581
|
-
name_mapping={
|
|
11744
|
+
name_mapping={
|
|
11745
|
+
"base_image": "baseImage",
|
|
11746
|
+
"image_name": "imageName",
|
|
11747
|
+
"alias": "alias",
|
|
11748
|
+
"aliases": "aliases",
|
|
11749
|
+
"horovod": "horovod",
|
|
11750
|
+
"job_type": "jobType",
|
|
11751
|
+
"ml_framework": "mlFramework",
|
|
11752
|
+
"processor": "processor",
|
|
11753
|
+
"programming_lang": "programmingLang",
|
|
11754
|
+
"release_notes": "releaseNotes",
|
|
11755
|
+
"vendor_guidance": "vendorGuidance",
|
|
11756
|
+
},
|
|
11582
11757
|
)
|
|
11583
11758
|
class CfnImageVersionProps:
|
|
11584
|
-
def __init__(
|
|
11759
|
+
def __init__(
|
|
11760
|
+
self,
|
|
11761
|
+
*,
|
|
11762
|
+
base_image: builtins.str,
|
|
11763
|
+
image_name: builtins.str,
|
|
11764
|
+
alias: typing.Optional[builtins.str] = None,
|
|
11765
|
+
aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
11766
|
+
horovod: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11767
|
+
job_type: typing.Optional[builtins.str] = None,
|
|
11768
|
+
ml_framework: typing.Optional[builtins.str] = None,
|
|
11769
|
+
processor: typing.Optional[builtins.str] = None,
|
|
11770
|
+
programming_lang: typing.Optional[builtins.str] = None,
|
|
11771
|
+
release_notes: typing.Optional[builtins.str] = None,
|
|
11772
|
+
vendor_guidance: typing.Optional[builtins.str] = None,
|
|
11773
|
+
) -> None:
|
|
11585
11774
|
'''Properties for defining a ``CfnImageVersion``.
|
|
11586
11775
|
|
|
11587
11776
|
:param base_image: The container image that the SageMaker image version is based on. *Length Constraints* : Minimum length of 1. Maximum length of 255. *Pattern* : ``.*``
|
|
11588
11777
|
:param image_name: The name of the parent image. *Length Constraints* : Minimum length of 1. Maximum length of 63. *Pattern* : ``^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$``
|
|
11778
|
+
:param alias: The alias of the image version.
|
|
11779
|
+
:param aliases: List of aliases for the image version.
|
|
11780
|
+
:param horovod: Indicates Horovod compatibility.
|
|
11781
|
+
:param job_type: Indicates SageMaker job type compatibility.
|
|
11782
|
+
:param ml_framework: The machine learning framework vended in the image version.
|
|
11783
|
+
:param processor: Indicates CPU or GPU compatibility.
|
|
11784
|
+
:param programming_lang: The supported programming language and its version.
|
|
11785
|
+
:param release_notes: The maintainer description of the image version.
|
|
11786
|
+
:param vendor_guidance: The availability of the image version specified by the maintainer.
|
|
11589
11787
|
|
|
11590
11788
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html
|
|
11591
11789
|
:exampleMetadata: fixture=_generated
|
|
@@ -11598,17 +11796,55 @@ class CfnImageVersionProps:
|
|
|
11598
11796
|
|
|
11599
11797
|
cfn_image_version_props = sagemaker.CfnImageVersionProps(
|
|
11600
11798
|
base_image="baseImage",
|
|
11601
|
-
image_name="imageName"
|
|
11799
|
+
image_name="imageName",
|
|
11800
|
+
|
|
11801
|
+
# the properties below are optional
|
|
11802
|
+
alias="alias",
|
|
11803
|
+
aliases=["aliases"],
|
|
11804
|
+
horovod=False,
|
|
11805
|
+
job_type="jobType",
|
|
11806
|
+
ml_framework="mlFramework",
|
|
11807
|
+
processor="processor",
|
|
11808
|
+
programming_lang="programmingLang",
|
|
11809
|
+
release_notes="releaseNotes",
|
|
11810
|
+
vendor_guidance="vendorGuidance"
|
|
11602
11811
|
)
|
|
11603
11812
|
'''
|
|
11604
11813
|
if __debug__:
|
|
11605
11814
|
type_hints = typing.get_type_hints(_typecheckingstub__eb1cf2f49fa3a5bb0e6e9fdd2097a7a9401edb65fabfda045235c1b04b02fbf1)
|
|
11606
11815
|
check_type(argname="argument base_image", value=base_image, expected_type=type_hints["base_image"])
|
|
11607
11816
|
check_type(argname="argument image_name", value=image_name, expected_type=type_hints["image_name"])
|
|
11817
|
+
check_type(argname="argument alias", value=alias, expected_type=type_hints["alias"])
|
|
11818
|
+
check_type(argname="argument aliases", value=aliases, expected_type=type_hints["aliases"])
|
|
11819
|
+
check_type(argname="argument horovod", value=horovod, expected_type=type_hints["horovod"])
|
|
11820
|
+
check_type(argname="argument job_type", value=job_type, expected_type=type_hints["job_type"])
|
|
11821
|
+
check_type(argname="argument ml_framework", value=ml_framework, expected_type=type_hints["ml_framework"])
|
|
11822
|
+
check_type(argname="argument processor", value=processor, expected_type=type_hints["processor"])
|
|
11823
|
+
check_type(argname="argument programming_lang", value=programming_lang, expected_type=type_hints["programming_lang"])
|
|
11824
|
+
check_type(argname="argument release_notes", value=release_notes, expected_type=type_hints["release_notes"])
|
|
11825
|
+
check_type(argname="argument vendor_guidance", value=vendor_guidance, expected_type=type_hints["vendor_guidance"])
|
|
11608
11826
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11609
11827
|
"base_image": base_image,
|
|
11610
11828
|
"image_name": image_name,
|
|
11611
11829
|
}
|
|
11830
|
+
if alias is not None:
|
|
11831
|
+
self._values["alias"] = alias
|
|
11832
|
+
if aliases is not None:
|
|
11833
|
+
self._values["aliases"] = aliases
|
|
11834
|
+
if horovod is not None:
|
|
11835
|
+
self._values["horovod"] = horovod
|
|
11836
|
+
if job_type is not None:
|
|
11837
|
+
self._values["job_type"] = job_type
|
|
11838
|
+
if ml_framework is not None:
|
|
11839
|
+
self._values["ml_framework"] = ml_framework
|
|
11840
|
+
if processor is not None:
|
|
11841
|
+
self._values["processor"] = processor
|
|
11842
|
+
if programming_lang is not None:
|
|
11843
|
+
self._values["programming_lang"] = programming_lang
|
|
11844
|
+
if release_notes is not None:
|
|
11845
|
+
self._values["release_notes"] = release_notes
|
|
11846
|
+
if vendor_guidance is not None:
|
|
11847
|
+
self._values["vendor_guidance"] = vendor_guidance
|
|
11612
11848
|
|
|
11613
11849
|
@builtins.property
|
|
11614
11850
|
def base_image(self) -> builtins.str:
|
|
@@ -11638,6 +11874,89 @@ class CfnImageVersionProps:
|
|
|
11638
11874
|
assert result is not None, "Required property 'image_name' is missing"
|
|
11639
11875
|
return typing.cast(builtins.str, result)
|
|
11640
11876
|
|
|
11877
|
+
@builtins.property
|
|
11878
|
+
def alias(self) -> typing.Optional[builtins.str]:
|
|
11879
|
+
'''The alias of the image version.
|
|
11880
|
+
|
|
11881
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-alias
|
|
11882
|
+
'''
|
|
11883
|
+
result = self._values.get("alias")
|
|
11884
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11885
|
+
|
|
11886
|
+
@builtins.property
|
|
11887
|
+
def aliases(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
11888
|
+
'''List of aliases for the image version.
|
|
11889
|
+
|
|
11890
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-aliases
|
|
11891
|
+
'''
|
|
11892
|
+
result = self._values.get("aliases")
|
|
11893
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
11894
|
+
|
|
11895
|
+
@builtins.property
|
|
11896
|
+
def horovod(
|
|
11897
|
+
self,
|
|
11898
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
11899
|
+
'''Indicates Horovod compatibility.
|
|
11900
|
+
|
|
11901
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-horovod
|
|
11902
|
+
'''
|
|
11903
|
+
result = self._values.get("horovod")
|
|
11904
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
11905
|
+
|
|
11906
|
+
@builtins.property
|
|
11907
|
+
def job_type(self) -> typing.Optional[builtins.str]:
|
|
11908
|
+
'''Indicates SageMaker job type compatibility.
|
|
11909
|
+
|
|
11910
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-jobtype
|
|
11911
|
+
'''
|
|
11912
|
+
result = self._values.get("job_type")
|
|
11913
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11914
|
+
|
|
11915
|
+
@builtins.property
|
|
11916
|
+
def ml_framework(self) -> typing.Optional[builtins.str]:
|
|
11917
|
+
'''The machine learning framework vended in the image version.
|
|
11918
|
+
|
|
11919
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-mlframework
|
|
11920
|
+
'''
|
|
11921
|
+
result = self._values.get("ml_framework")
|
|
11922
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11923
|
+
|
|
11924
|
+
@builtins.property
|
|
11925
|
+
def processor(self) -> typing.Optional[builtins.str]:
|
|
11926
|
+
'''Indicates CPU or GPU compatibility.
|
|
11927
|
+
|
|
11928
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-processor
|
|
11929
|
+
'''
|
|
11930
|
+
result = self._values.get("processor")
|
|
11931
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11932
|
+
|
|
11933
|
+
@builtins.property
|
|
11934
|
+
def programming_lang(self) -> typing.Optional[builtins.str]:
|
|
11935
|
+
'''The supported programming language and its version.
|
|
11936
|
+
|
|
11937
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-programminglang
|
|
11938
|
+
'''
|
|
11939
|
+
result = self._values.get("programming_lang")
|
|
11940
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11941
|
+
|
|
11942
|
+
@builtins.property
|
|
11943
|
+
def release_notes(self) -> typing.Optional[builtins.str]:
|
|
11944
|
+
'''The maintainer description of the image version.
|
|
11945
|
+
|
|
11946
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-releasenotes
|
|
11947
|
+
'''
|
|
11948
|
+
result = self._values.get("release_notes")
|
|
11949
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11950
|
+
|
|
11951
|
+
@builtins.property
|
|
11952
|
+
def vendor_guidance(self) -> typing.Optional[builtins.str]:
|
|
11953
|
+
'''The availability of the image version specified by the maintainer.
|
|
11954
|
+
|
|
11955
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-vendorguidance
|
|
11956
|
+
'''
|
|
11957
|
+
result = self._values.get("vendor_guidance")
|
|
11958
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11959
|
+
|
|
11641
11960
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11642
11961
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11643
11962
|
|
|
@@ -39380,6 +39699,15 @@ def _typecheckingstub__1ad8c361f2876657ea1cf0f0f9f7356de06575f95ad80d7a587da1909
|
|
|
39380
39699
|
*,
|
|
39381
39700
|
base_image: builtins.str,
|
|
39382
39701
|
image_name: builtins.str,
|
|
39702
|
+
alias: typing.Optional[builtins.str] = None,
|
|
39703
|
+
aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
39704
|
+
horovod: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
39705
|
+
job_type: typing.Optional[builtins.str] = None,
|
|
39706
|
+
ml_framework: typing.Optional[builtins.str] = None,
|
|
39707
|
+
processor: typing.Optional[builtins.str] = None,
|
|
39708
|
+
programming_lang: typing.Optional[builtins.str] = None,
|
|
39709
|
+
release_notes: typing.Optional[builtins.str] = None,
|
|
39710
|
+
vendor_guidance: typing.Optional[builtins.str] = None,
|
|
39383
39711
|
) -> None:
|
|
39384
39712
|
"""Type checking stubs"""
|
|
39385
39713
|
pass
|
|
@@ -39408,10 +39736,73 @@ def _typecheckingstub__32397b68bd7477c88dd5aca2fab6262902fec8c5be04520516af96935
|
|
|
39408
39736
|
"""Type checking stubs"""
|
|
39409
39737
|
pass
|
|
39410
39738
|
|
|
39739
|
+
def _typecheckingstub__130335aafd8604a37bb0c6378189d323e11f1c9a8d9de59d6826369f2086fb54(
|
|
39740
|
+
value: typing.Optional[builtins.str],
|
|
39741
|
+
) -> None:
|
|
39742
|
+
"""Type checking stubs"""
|
|
39743
|
+
pass
|
|
39744
|
+
|
|
39745
|
+
def _typecheckingstub__1b53841ef8f974620a34f1089ddd34dab945dc1cfc6214ff5c96805c28fee339(
|
|
39746
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
39747
|
+
) -> None:
|
|
39748
|
+
"""Type checking stubs"""
|
|
39749
|
+
pass
|
|
39750
|
+
|
|
39751
|
+
def _typecheckingstub__63b740d348bf3bc8f512963928cc212f67fef7490d5bc60dbf44641d8a8bba80(
|
|
39752
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
39753
|
+
) -> None:
|
|
39754
|
+
"""Type checking stubs"""
|
|
39755
|
+
pass
|
|
39756
|
+
|
|
39757
|
+
def _typecheckingstub__4325909e50b32e3c971c803ff8d527558eaf27440a7e1eecd39347ec829edf7e(
|
|
39758
|
+
value: typing.Optional[builtins.str],
|
|
39759
|
+
) -> None:
|
|
39760
|
+
"""Type checking stubs"""
|
|
39761
|
+
pass
|
|
39762
|
+
|
|
39763
|
+
def _typecheckingstub__81d68f0650f7bba3ce23357345acab3a7f8c2473cb1f04dd8ec3718f4ad3f061(
|
|
39764
|
+
value: typing.Optional[builtins.str],
|
|
39765
|
+
) -> None:
|
|
39766
|
+
"""Type checking stubs"""
|
|
39767
|
+
pass
|
|
39768
|
+
|
|
39769
|
+
def _typecheckingstub__51796dc1c41721e2403c8fcaf57981fc62e4d27583b46f696048e71c11c42217(
|
|
39770
|
+
value: typing.Optional[builtins.str],
|
|
39771
|
+
) -> None:
|
|
39772
|
+
"""Type checking stubs"""
|
|
39773
|
+
pass
|
|
39774
|
+
|
|
39775
|
+
def _typecheckingstub__558e00760dafdf270030f6c74f7af644a9073b029f802c09baf4ca45a0f96579(
|
|
39776
|
+
value: typing.Optional[builtins.str],
|
|
39777
|
+
) -> None:
|
|
39778
|
+
"""Type checking stubs"""
|
|
39779
|
+
pass
|
|
39780
|
+
|
|
39781
|
+
def _typecheckingstub__fdda2091c290a3c94f3594803b8ff7d3846931cb6976f4fbe76584d69581fac1(
|
|
39782
|
+
value: typing.Optional[builtins.str],
|
|
39783
|
+
) -> None:
|
|
39784
|
+
"""Type checking stubs"""
|
|
39785
|
+
pass
|
|
39786
|
+
|
|
39787
|
+
def _typecheckingstub__5382fea0d28fb1b1a6c04307334e93f65dd93058c962443126e5776048b93ac6(
|
|
39788
|
+
value: typing.Optional[builtins.str],
|
|
39789
|
+
) -> None:
|
|
39790
|
+
"""Type checking stubs"""
|
|
39791
|
+
pass
|
|
39792
|
+
|
|
39411
39793
|
def _typecheckingstub__eb1cf2f49fa3a5bb0e6e9fdd2097a7a9401edb65fabfda045235c1b04b02fbf1(
|
|
39412
39794
|
*,
|
|
39413
39795
|
base_image: builtins.str,
|
|
39414
39796
|
image_name: builtins.str,
|
|
39797
|
+
alias: typing.Optional[builtins.str] = None,
|
|
39798
|
+
aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
39799
|
+
horovod: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
39800
|
+
job_type: typing.Optional[builtins.str] = None,
|
|
39801
|
+
ml_framework: typing.Optional[builtins.str] = None,
|
|
39802
|
+
processor: typing.Optional[builtins.str] = None,
|
|
39803
|
+
programming_lang: typing.Optional[builtins.str] = None,
|
|
39804
|
+
release_notes: typing.Optional[builtins.str] = None,
|
|
39805
|
+
vendor_guidance: typing.Optional[builtins.str] = None,
|
|
39415
39806
|
) -> None:
|
|
39416
39807
|
"""Type checking stubs"""
|
|
39417
39808
|
pass
|
aws_cdk/aws_sns/__init__.py
CHANGED
|
@@ -919,7 +919,7 @@ class CfnTopic(
|
|
|
919
919
|
:param subscription: The Amazon SNS subscriptions (endpoints) for this topic. .. epigraph:: If you specify the ``Subscription`` property in the ``AWS::SNS::Topic`` resource and it creates an associated subscription resource, the associated subscription is not deleted when the ``AWS::SNS::Topic`` resource is deleted.
|
|
920
920
|
:param tags: The list of tags to add to a new topic. .. epigraph:: To be able to tag a topic on creation, you must have the ``sns:CreateTopic`` and ``sns:TagResource`` permissions.
|
|
921
921
|
:param topic_name: The name of the topic you want to create. Topic names must include only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long. FIFO topic names must end with ``.fifo`` . If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the topic name. For more information, see `Name type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . .. epigraph:: If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
922
|
-
:param tracing_config: Tracing mode of an Amazon SNS topic. By default ``TracingConfig`` is set to ``PassThrough`` , and the topic passes through the tracing header it receives from an SNS publisher to its subscriptions. If set to ``Active`` , SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. Only supported on standard topics.
|
|
922
|
+
:param tracing_config: Tracing mode of an Amazon SNS topic. By default ``TracingConfig`` is set to ``PassThrough`` , and the topic passes through the tracing header it receives from an Amazon SNS publisher to its subscriptions. If set to ``Active`` , Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. Only supported on standard topics.
|
|
923
923
|
'''
|
|
924
924
|
if __debug__:
|
|
925
925
|
type_hints = typing.get_type_hints(_typecheckingstub__3c3e689eaa6b740299fa6db2e53acc51021bc5deb0a8dd6d7bc29e8a364a1dfe)
|
|
@@ -1225,7 +1225,7 @@ class CfnTopicInlinePolicy(
|
|
|
1225
1225
|
metaclass=jsii.JSIIMeta,
|
|
1226
1226
|
jsii_type="aws-cdk-lib.aws_sns.CfnTopicInlinePolicy",
|
|
1227
1227
|
):
|
|
1228
|
-
'''
|
|
1228
|
+
'''The ``AWS::SNS::TopicInlinePolicy`` resource associates one Amazon SNS topic with one policy.
|
|
1229
1229
|
|
|
1230
1230
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html
|
|
1231
1231
|
:exampleMetadata: fixture=_generated
|
|
@@ -1255,7 +1255,7 @@ class CfnTopicInlinePolicy(
|
|
|
1255
1255
|
'''
|
|
1256
1256
|
:param scope: Scope in which this resource is defined.
|
|
1257
1257
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1258
|
-
:param policy_document: A policy document that contains permissions to add to the specified SNS
|
|
1258
|
+
:param policy_document: A policy document that contains permissions to add to the specified Amazon SNS topic.
|
|
1259
1259
|
:param topic_arn: The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
|
|
1260
1260
|
'''
|
|
1261
1261
|
if __debug__:
|
|
@@ -1306,7 +1306,7 @@ class CfnTopicInlinePolicy(
|
|
|
1306
1306
|
@builtins.property
|
|
1307
1307
|
@jsii.member(jsii_name="policyDocument")
|
|
1308
1308
|
def policy_document(self) -> typing.Any:
|
|
1309
|
-
'''A policy document that contains permissions to add to the specified SNS
|
|
1309
|
+
'''A policy document that contains permissions to add to the specified Amazon SNS topic.'''
|
|
1310
1310
|
return typing.cast(typing.Any, jsii.get(self, "policyDocument"))
|
|
1311
1311
|
|
|
1312
1312
|
@policy_document.setter
|
|
@@ -1339,7 +1339,7 @@ class CfnTopicInlinePolicyProps:
|
|
|
1339
1339
|
def __init__(self, *, policy_document: typing.Any, topic_arn: builtins.str) -> None:
|
|
1340
1340
|
'''Properties for defining a ``CfnTopicInlinePolicy``.
|
|
1341
1341
|
|
|
1342
|
-
:param policy_document: A policy document that contains permissions to add to the specified SNS
|
|
1342
|
+
:param policy_document: A policy document that contains permissions to add to the specified Amazon SNS topic.
|
|
1343
1343
|
:param topic_arn: The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
|
|
1344
1344
|
|
|
1345
1345
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html
|
|
@@ -1369,7 +1369,7 @@ class CfnTopicInlinePolicyProps:
|
|
|
1369
1369
|
|
|
1370
1370
|
@builtins.property
|
|
1371
1371
|
def policy_document(self) -> typing.Any:
|
|
1372
|
-
'''A policy document that contains permissions to add to the specified SNS
|
|
1372
|
+
'''A policy document that contains permissions to add to the specified Amazon SNS topic.
|
|
1373
1373
|
|
|
1374
1374
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html#cfn-sns-topicinlinepolicy-policydocument
|
|
1375
1375
|
'''
|
|
@@ -1637,7 +1637,7 @@ class CfnTopicProps:
|
|
|
1637
1637
|
:param subscription: The Amazon SNS subscriptions (endpoints) for this topic. .. epigraph:: If you specify the ``Subscription`` property in the ``AWS::SNS::Topic`` resource and it creates an associated subscription resource, the associated subscription is not deleted when the ``AWS::SNS::Topic`` resource is deleted.
|
|
1638
1638
|
:param tags: The list of tags to add to a new topic. .. epigraph:: To be able to tag a topic on creation, you must have the ``sns:CreateTopic`` and ``sns:TagResource`` permissions.
|
|
1639
1639
|
:param topic_name: The name of the topic you want to create. Topic names must include only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long. FIFO topic names must end with ``.fifo`` . If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the topic name. For more information, see `Name type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . .. epigraph:: If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
1640
|
-
:param tracing_config: Tracing mode of an Amazon SNS topic. By default ``TracingConfig`` is set to ``PassThrough`` , and the topic passes through the tracing header it receives from an SNS publisher to its subscriptions. If set to ``Active`` , SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. Only supported on standard topics.
|
|
1640
|
+
:param tracing_config: Tracing mode of an Amazon SNS topic. By default ``TracingConfig`` is set to ``PassThrough`` , and the topic passes through the tracing header it receives from an Amazon SNS publisher to its subscriptions. If set to ``Active`` , Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. Only supported on standard topics.
|
|
1641
1641
|
|
|
1642
1642
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html
|
|
1643
1643
|
:exampleMetadata: fixture=_generated
|
|
@@ -1828,7 +1828,7 @@ class CfnTopicProps:
|
|
|
1828
1828
|
def tracing_config(self) -> typing.Optional[builtins.str]:
|
|
1829
1829
|
'''Tracing mode of an Amazon SNS topic.
|
|
1830
1830
|
|
|
1831
|
-
By default ``TracingConfig`` is set to ``PassThrough`` , and the topic passes through the tracing header it receives from an SNS publisher to its subscriptions. If set to ``Active`` , SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. Only supported on standard topics.
|
|
1831
|
+
By default ``TracingConfig`` is set to ``PassThrough`` , and the topic passes through the tracing header it receives from an Amazon SNS publisher to its subscriptions. If set to ``Active`` , Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. Only supported on standard topics.
|
|
1832
1832
|
|
|
1833
1833
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-tracingconfig
|
|
1834
1834
|
'''
|