aws-cdk-lib 2.181.1__py3-none-any.whl → 2.183.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 +751 -41
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.181.1.jsii.tgz → aws-cdk-lib@2.183.0.jsii.tgz} +0 -0
- aws_cdk/assertions/__init__.py +59 -0
- aws_cdk/aws_apigateway/__init__.py +122 -66
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -0
- aws_cdk/aws_appsync/__init__.py +30 -4
- aws_cdk/aws_autoscaling/__init__.py +409 -36
- aws_cdk/aws_batch/__init__.py +638 -14
- aws_cdk/aws_bedrock/__init__.py +6009 -2326
- aws_cdk/aws_ce/__init__.py +141 -3
- aws_cdk/aws_certificatemanager/__init__.py +24 -0
- aws_cdk/aws_cloudformation/__init__.py +310 -35
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +8 -8
- aws_cdk/aws_codebuild/__init__.py +4 -10
- aws_cdk/aws_cognito/__init__.py +3 -3
- aws_cdk/aws_datazone/__init__.py +82 -0
- aws_cdk/aws_dms/__init__.py +350 -0
- aws_cdk/aws_ec2/__init__.py +95 -17
- aws_cdk/aws_ecr/__init__.py +10 -4
- aws_cdk/aws_ecs/__init__.py +58 -9
- aws_cdk/aws_eks/__init__.py +32 -3
- aws_cdk/aws_elasticache/__init__.py +3 -3
- aws_cdk/aws_emr/__init__.py +9 -3
- aws_cdk/aws_fsx/__init__.py +2 -0
- aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
- aws_cdk/aws_guardduty/__init__.py +38 -26
- aws_cdk/aws_iam/__init__.py +295 -37
- aws_cdk/aws_inspector/__init__.py +180 -1
- aws_cdk/aws_iot/__init__.py +616 -22
- aws_cdk/aws_iotfleetwise/__init__.py +72 -10
- aws_cdk/aws_iotsitewise/__init__.py +14 -11
- aws_cdk/aws_kafkaconnect/__init__.py +4 -2
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
- aws_cdk/aws_lambda/__init__.py +17 -0
- aws_cdk/aws_logs/__init__.py +135 -0
- aws_cdk/aws_medialive/__init__.py +86 -86
- aws_cdk/aws_mediapackagev2/__init__.py +22 -14
- aws_cdk/aws_msk/__init__.py +236 -128
- aws_cdk/aws_neptunegraph/__init__.py +3 -3
- aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
- aws_cdk/aws_opensearchservice/__init__.py +261 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +30 -4
- aws_cdk/aws_pipes/__init__.py +6 -2
- aws_cdk/aws_quicksight/__init__.py +6712 -20758
- aws_cdk/aws_rds/__init__.py +174 -30
- aws_cdk/aws_redshift/__init__.py +8 -8
- aws_cdk/aws_s3/__init__.py +8 -0
- aws_cdk/aws_sagemaker/__init__.py +80 -18
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_sns/__init__.py +76 -1
- aws_cdk/aws_synthetics/__init__.py +2 -0
- aws_cdk/aws_transfer/__init__.py +241 -40
- aws_cdk/aws_vpclattice/__init__.py +144 -9
- aws_cdk/aws_wafv2/__init__.py +790 -0
- aws_cdk/aws_wisdom/__init__.py +3 -110
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/aws_workspacesweb/__init__.py +179 -2
- aws_cdk/aws_xray/__init__.py +195 -0
- aws_cdk/cloud_assembly_schema/__init__.py +224 -4
- aws_cdk/custom_resources/__init__.py +65 -8
- aws_cdk/cx_api/__init__.py +2 -1
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/RECORD +69 -68
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/top_level.txt +0 -0
|
@@ -1590,7 +1590,7 @@ class CfnCluster(
|
|
|
1590
1590
|
'''
|
|
1591
1591
|
:param scope: Scope in which this resource is defined.
|
|
1592
1592
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1593
|
-
:param instance_groups: The instance groups of the SageMaker HyperPod cluster.
|
|
1593
|
+
:param instance_groups: The instance groups of the SageMaker HyperPod cluster. To delete an instance group, remove it from the array.
|
|
1594
1594
|
:param cluster_name: The name of the SageMaker HyperPod cluster.
|
|
1595
1595
|
:param node_recovery: Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod. Available values are ``Automatic`` for enabling and ``None`` for disabling.
|
|
1596
1596
|
:param orchestrator: The orchestrator type for the SageMaker HyperPod cluster. Currently, ``'eks'`` is the only available option.
|
|
@@ -1882,7 +1882,7 @@ class CfnCluster(
|
|
|
1882
1882
|
:param current_count: The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
|
|
1883
1883
|
:param instance_storage_configs: The configurations of additional storage specified to the instance group where the instance (node) is launched.
|
|
1884
1884
|
:param on_start_deep_health_checks: A flag indicating whether deep health checks should be performed when the HyperPod cluster instance group is created or updated. Deep health checks are comprehensive, invasive tests that validate the health of the underlying hardware and infrastructure components.
|
|
1885
|
-
:param override_vpc_config:
|
|
1885
|
+
:param override_vpc_config: Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC.
|
|
1886
1886
|
:param threads_per_core: The number of threads per CPU core you specified under ``CreateCluster`` .
|
|
1887
1887
|
|
|
1888
1888
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html
|
|
@@ -2038,7 +2038,9 @@ class CfnCluster(
|
|
|
2038
2038
|
def override_vpc_config(
|
|
2039
2039
|
self,
|
|
2040
2040
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConfigProperty"]]:
|
|
2041
|
-
'''
|
|
2041
|
+
'''Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
|
|
2042
|
+
|
|
2043
|
+
You can control access to and from your resources by configuring a VPC.
|
|
2042
2044
|
|
|
2043
2045
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-overridevpcconfig
|
|
2044
2046
|
'''
|
|
@@ -2422,7 +2424,7 @@ class CfnClusterProps:
|
|
|
2422
2424
|
) -> None:
|
|
2423
2425
|
'''Properties for defining a ``CfnCluster``.
|
|
2424
2426
|
|
|
2425
|
-
:param instance_groups: The instance groups of the SageMaker HyperPod cluster.
|
|
2427
|
+
:param instance_groups: The instance groups of the SageMaker HyperPod cluster. To delete an instance group, remove it from the array.
|
|
2426
2428
|
:param cluster_name: The name of the SageMaker HyperPod cluster.
|
|
2427
2429
|
:param node_recovery: Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod. Available values are ``Automatic`` for enabling and ``None`` for disabling.
|
|
2428
2430
|
:param orchestrator: The orchestrator type for the SageMaker HyperPod cluster. Currently, ``'eks'`` is the only available option.
|
|
@@ -2510,6 +2512,8 @@ class CfnClusterProps:
|
|
|
2510
2512
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCluster.ClusterInstanceGroupProperty]]]:
|
|
2511
2513
|
'''The instance groups of the SageMaker HyperPod cluster.
|
|
2512
2514
|
|
|
2515
|
+
To delete an instance group, remove it from the array.
|
|
2516
|
+
|
|
2513
2517
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html#cfn-sagemaker-cluster-instancegroups
|
|
2514
2518
|
'''
|
|
2515
2519
|
result = self._values.get("instance_groups")
|
|
@@ -8286,7 +8290,7 @@ class CfnDomain(
|
|
|
8286
8290
|
) -> None:
|
|
8287
8291
|
'''The KernelGateway app settings.
|
|
8288
8292
|
|
|
8289
|
-
:param custom_images: A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
8293
|
+
:param custom_images: A list of custom SageMaker AI images that are configured to run as a KernelGateway app. The maximum number of custom images are as follows. - On a domain level: 200 - On a space level: 5 - On a user profile level: 5
|
|
8290
8294
|
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
8291
8295
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. .. epigraph:: To remove a Lifecycle Config, you must set ``LifecycleConfigArns`` to an empty list.
|
|
8292
8296
|
|
|
@@ -8335,6 +8339,12 @@ class CfnDomain(
|
|
|
8335
8339
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.CustomImageProperty"]]]]:
|
|
8336
8340
|
'''A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
8337
8341
|
|
|
8342
|
+
The maximum number of custom images are as follows.
|
|
8343
|
+
|
|
8344
|
+
- On a domain level: 200
|
|
8345
|
+
- On a space level: 5
|
|
8346
|
+
- On a user profile level: 5
|
|
8347
|
+
|
|
8338
8348
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-kernelgatewayappsettings.html#cfn-sagemaker-domain-kernelgatewayappsettings-customimages
|
|
8339
8349
|
'''
|
|
8340
8350
|
result = self._values.get("custom_images")
|
|
@@ -10984,6 +10994,7 @@ class CfnEndpointConfig(
|
|
|
10984
10994
|
accelerator_type="acceleratorType",
|
|
10985
10995
|
container_startup_health_check_timeout_in_seconds=123,
|
|
10986
10996
|
enable_ssm_access=False,
|
|
10997
|
+
inference_ami_version="inferenceAmiVersion",
|
|
10987
10998
|
initial_instance_count=123,
|
|
10988
10999
|
initial_variant_weight=123,
|
|
10989
11000
|
instance_type="instanceType",
|
|
@@ -11087,6 +11098,7 @@ class CfnEndpointConfig(
|
|
|
11087
11098
|
accelerator_type="acceleratorType",
|
|
11088
11099
|
container_startup_health_check_timeout_in_seconds=123,
|
|
11089
11100
|
enable_ssm_access=False,
|
|
11101
|
+
inference_ami_version="inferenceAmiVersion",
|
|
11090
11102
|
initial_instance_count=123,
|
|
11091
11103
|
initial_variant_weight=123,
|
|
11092
11104
|
instance_type="instanceType",
|
|
@@ -12924,6 +12936,7 @@ class CfnEndpointConfig(
|
|
|
12924
12936
|
"accelerator_type": "acceleratorType",
|
|
12925
12937
|
"container_startup_health_check_timeout_in_seconds": "containerStartupHealthCheckTimeoutInSeconds",
|
|
12926
12938
|
"enable_ssm_access": "enableSsmAccess",
|
|
12939
|
+
"inference_ami_version": "inferenceAmiVersion",
|
|
12927
12940
|
"initial_instance_count": "initialInstanceCount",
|
|
12928
12941
|
"initial_variant_weight": "initialVariantWeight",
|
|
12929
12942
|
"instance_type": "instanceType",
|
|
@@ -12943,6 +12956,7 @@ class CfnEndpointConfig(
|
|
|
12943
12956
|
accelerator_type: typing.Optional[builtins.str] = None,
|
|
12944
12957
|
container_startup_health_check_timeout_in_seconds: typing.Optional[jsii.Number] = None,
|
|
12945
12958
|
enable_ssm_access: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
12959
|
+
inference_ami_version: typing.Optional[builtins.str] = None,
|
|
12946
12960
|
initial_instance_count: typing.Optional[jsii.Number] = None,
|
|
12947
12961
|
initial_variant_weight: typing.Optional[jsii.Number] = None,
|
|
12948
12962
|
instance_type: typing.Optional[builtins.str] = None,
|
|
@@ -12961,6 +12975,7 @@ class CfnEndpointConfig(
|
|
|
12961
12975
|
:param accelerator_type: The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see `Using Elastic Inference in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html>`_ . For more information, see `Using Elastic Inference in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html>`_ .
|
|
12962
12976
|
:param container_startup_health_check_timeout_in_seconds: The timeout value, in seconds, for your inference container to pass health check by SageMaker Hosting. For more information about health check, see `How Your Container Should Respond to Health Check (Ping) Requests <https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-inference-code.html#your-algorithms-inference-algo-ping-requests>`_ .
|
|
12963
12977
|
:param enable_ssm_access: You can use this parameter to turn on native AWS Systems Manager (SSM) access for a production variant behind an endpoint. By default, SSM access is disabled for all production variants behind an endpoint. You can turn on or turn off SSM access for a production variant behind an existing endpoint by creating a new endpoint configuration and calling ``UpdateEndpoint`` .
|
|
12978
|
+
:param inference_ami_version:
|
|
12964
12979
|
:param initial_instance_count: Number of instances to launch initially.
|
|
12965
12980
|
:param initial_variant_weight: Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the ``VariantWeight`` to the sum of all ``VariantWeight`` values across all ProductionVariants. If unspecified, it defaults to 1.0.
|
|
12966
12981
|
:param instance_type: The ML compute instance type.
|
|
@@ -12987,6 +13002,7 @@ class CfnEndpointConfig(
|
|
|
12987
13002
|
accelerator_type="acceleratorType",
|
|
12988
13003
|
container_startup_health_check_timeout_in_seconds=123,
|
|
12989
13004
|
enable_ssm_access=False,
|
|
13005
|
+
inference_ami_version="inferenceAmiVersion",
|
|
12990
13006
|
initial_instance_count=123,
|
|
12991
13007
|
initial_variant_weight=123,
|
|
12992
13008
|
instance_type="instanceType",
|
|
@@ -13016,6 +13032,7 @@ class CfnEndpointConfig(
|
|
|
13016
13032
|
check_type(argname="argument accelerator_type", value=accelerator_type, expected_type=type_hints["accelerator_type"])
|
|
13017
13033
|
check_type(argname="argument container_startup_health_check_timeout_in_seconds", value=container_startup_health_check_timeout_in_seconds, expected_type=type_hints["container_startup_health_check_timeout_in_seconds"])
|
|
13018
13034
|
check_type(argname="argument enable_ssm_access", value=enable_ssm_access, expected_type=type_hints["enable_ssm_access"])
|
|
13035
|
+
check_type(argname="argument inference_ami_version", value=inference_ami_version, expected_type=type_hints["inference_ami_version"])
|
|
13019
13036
|
check_type(argname="argument initial_instance_count", value=initial_instance_count, expected_type=type_hints["initial_instance_count"])
|
|
13020
13037
|
check_type(argname="argument initial_variant_weight", value=initial_variant_weight, expected_type=type_hints["initial_variant_weight"])
|
|
13021
13038
|
check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
|
|
@@ -13034,6 +13051,8 @@ class CfnEndpointConfig(
|
|
|
13034
13051
|
self._values["container_startup_health_check_timeout_in_seconds"] = container_startup_health_check_timeout_in_seconds
|
|
13035
13052
|
if enable_ssm_access is not None:
|
|
13036
13053
|
self._values["enable_ssm_access"] = enable_ssm_access
|
|
13054
|
+
if inference_ami_version is not None:
|
|
13055
|
+
self._values["inference_ami_version"] = inference_ami_version
|
|
13037
13056
|
if initial_instance_count is not None:
|
|
13038
13057
|
self._values["initial_instance_count"] = initial_instance_count
|
|
13039
13058
|
if initial_variant_weight is not None:
|
|
@@ -13100,6 +13119,14 @@ class CfnEndpointConfig(
|
|
|
13100
13119
|
result = self._values.get("enable_ssm_access")
|
|
13101
13120
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
13102
13121
|
|
|
13122
|
+
@builtins.property
|
|
13123
|
+
def inference_ami_version(self) -> typing.Optional[builtins.str]:
|
|
13124
|
+
'''
|
|
13125
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-inferenceamiversion
|
|
13126
|
+
'''
|
|
13127
|
+
result = self._values.get("inference_ami_version")
|
|
13128
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
13129
|
+
|
|
13103
13130
|
@builtins.property
|
|
13104
13131
|
def initial_instance_count(self) -> typing.Optional[jsii.Number]:
|
|
13105
13132
|
'''Number of instances to launch initially.
|
|
@@ -13491,6 +13518,7 @@ class CfnEndpointConfigProps:
|
|
|
13491
13518
|
accelerator_type="acceleratorType",
|
|
13492
13519
|
container_startup_health_check_timeout_in_seconds=123,
|
|
13493
13520
|
enable_ssm_access=False,
|
|
13521
|
+
inference_ami_version="inferenceAmiVersion",
|
|
13494
13522
|
initial_instance_count=123,
|
|
13495
13523
|
initial_variant_weight=123,
|
|
13496
13524
|
instance_type="instanceType",
|
|
@@ -13594,6 +13622,7 @@ class CfnEndpointConfigProps:
|
|
|
13594
13622
|
accelerator_type="acceleratorType",
|
|
13595
13623
|
container_startup_health_check_timeout_in_seconds=123,
|
|
13596
13624
|
enable_ssm_access=False,
|
|
13625
|
+
inference_ami_version="inferenceAmiVersion",
|
|
13597
13626
|
initial_instance_count=123,
|
|
13598
13627
|
initial_variant_weight=123,
|
|
13599
13628
|
instance_type="instanceType",
|
|
@@ -19884,8 +19913,11 @@ class CfnModel(
|
|
|
19884
19913
|
)
|
|
19885
19914
|
class HubAccessConfigProperty:
|
|
19886
19915
|
def __init__(self, *, hub_content_arn: builtins.str) -> None:
|
|
19887
|
-
'''
|
|
19888
|
-
|
|
19916
|
+
'''The configuration for a private hub model reference that points to a public SageMaker JumpStart model.
|
|
19917
|
+
|
|
19918
|
+
For more information about private hubs, see `Private curated hubs for foundation model access control in JumpStart <https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html>`_ .
|
|
19919
|
+
|
|
19920
|
+
:param hub_content_arn: The ARN of your private model hub content. This should be a ``ModelReference`` resource type that points to a SageMaker JumpStart public hub model.
|
|
19889
19921
|
|
|
19890
19922
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-hubaccessconfig.html
|
|
19891
19923
|
:exampleMetadata: fixture=_generated
|
|
@@ -19909,7 +19941,10 @@ class CfnModel(
|
|
|
19909
19941
|
|
|
19910
19942
|
@builtins.property
|
|
19911
19943
|
def hub_content_arn(self) -> builtins.str:
|
|
19912
|
-
'''
|
|
19944
|
+
'''The ARN of your private model hub content.
|
|
19945
|
+
|
|
19946
|
+
This should be a ``ModelReference`` resource type that points to a SageMaker JumpStart public hub model.
|
|
19947
|
+
|
|
19913
19948
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-hubaccessconfig.html#cfn-sagemaker-model-hubaccessconfig-hubcontentarn
|
|
19914
19949
|
'''
|
|
19915
19950
|
result = self._values.get("hub_content_arn")
|
|
@@ -20349,7 +20384,7 @@ class CfnModel(
|
|
|
20349
20384
|
:param compression_type:
|
|
20350
20385
|
:param s3_data_type: If you choose ``S3Prefix`` , ``S3Uri`` identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
20351
20386
|
:param s3_uri: Depending on the value specified for the ``S3DataType`` , identifies either a key name prefix or a manifest. For example: - A key name prefix might look like this: ``s3://bucketname/exampleprefix/`` - A manifest might look like this: ``s3://bucketname/example.manifest`` A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of ``S3Uri`` . Note that the prefix must be a valid non-empty ``S3Uri`` that precludes users from specifying a manifest whose individual ``S3Uri`` is sourced from different S3 buckets. The following code example shows a valid manifest format: ``[ {"prefix": "s3://customer_bucket/some/prefix/"},`` ``"relative/path/to/custdata-1",`` ``"relative/path/custdata-2",`` ``...`` ``"relative/path/custdata-N"`` ``]`` This JSON is equivalent to the following ``S3Uri`` list: ``s3://customer_bucket/some/prefix/relative/path/to/custdata-1`` ``s3://customer_bucket/some/prefix/relative/path/custdata-2`` ``...`` ``s3://customer_bucket/some/prefix/relative/path/custdata-N`` The complete set of ``S3Uri`` in this manifest is the input data for the channel for this data source. The object that each ``S3Uri`` points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf. Your input bucket must be located in same AWS region as your training job.
|
|
20352
|
-
:param hub_access_config:
|
|
20387
|
+
:param hub_access_config: The configuration for a private hub model reference that points to a SageMaker JumpStart public hub model.
|
|
20353
20388
|
:param model_access_config:
|
|
20354
20389
|
|
|
20355
20390
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-s3datasource.html
|
|
@@ -20466,7 +20501,8 @@ class CfnModel(
|
|
|
20466
20501
|
def hub_access_config(
|
|
20467
20502
|
self,
|
|
20468
20503
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnModel.HubAccessConfigProperty"]]:
|
|
20469
|
-
'''
|
|
20504
|
+
'''The configuration for a private hub model reference that points to a SageMaker JumpStart public hub model.
|
|
20505
|
+
|
|
20470
20506
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-s3datasource.html#cfn-sagemaker-model-s3datasource-hubaccessconfig
|
|
20471
20507
|
'''
|
|
20472
20508
|
result = self._values.get("hub_access_config")
|
|
@@ -28793,7 +28829,14 @@ class CfnModelPackage(
|
|
|
28793
28829
|
metaclass=jsii.JSIIMeta,
|
|
28794
28830
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnModelPackage",
|
|
28795
28831
|
):
|
|
28796
|
-
'''A
|
|
28832
|
+
'''A container for your trained model that can be deployed for SageMaker inference.
|
|
28833
|
+
|
|
28834
|
+
This can include inference code, artifacts, and metadata. The model package type can be one of the following.
|
|
28835
|
+
|
|
28836
|
+
- Versioned model: A part of a model package group in Model Registry.
|
|
28837
|
+
- Unversioned model: Not part of a model package group and used in AWS Marketplace.
|
|
28838
|
+
|
|
28839
|
+
For more information, see ```CreateModelPackage`` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModelPackage.html>`_ .
|
|
28797
28840
|
|
|
28798
28841
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackage.html
|
|
28799
28842
|
:cloudformationResource: AWS::SageMaker::ModelPackage
|
|
@@ -29206,7 +29249,7 @@ class CfnModelPackage(
|
|
|
29206
29249
|
:param model_metrics: Metrics for the model.
|
|
29207
29250
|
:param model_package_description: The description of the model package.
|
|
29208
29251
|
:param model_package_group_name: The model group to which the model belongs.
|
|
29209
|
-
:param model_package_name: The name of the model.
|
|
29252
|
+
:param model_package_name: The name of the model package. The name can be as follows:. - For a versioned model, the name is automatically generated by SageMaker Model Registry and follows the format ' ``ModelPackageGroupName/ModelPackageVersion`` '. - For an unversioned model, you must provide the name.
|
|
29210
29253
|
:param model_package_status_details: Specifies the validation and image scan statuses of the model package.
|
|
29211
29254
|
:param model_package_version: The version number of a versioned model.
|
|
29212
29255
|
:param sample_payload_url: The Amazon Simple Storage Service path where the sample payload are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
|
|
@@ -29587,7 +29630,10 @@ class CfnModelPackage(
|
|
|
29587
29630
|
@builtins.property
|
|
29588
29631
|
@jsii.member(jsii_name="modelPackageName")
|
|
29589
29632
|
def model_package_name(self) -> typing.Optional[builtins.str]:
|
|
29590
|
-
'''The name of the model.
|
|
29633
|
+
'''The name of the model package.
|
|
29634
|
+
|
|
29635
|
+
The name can be as follows:.
|
|
29636
|
+
'''
|
|
29591
29637
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "modelPackageName"))
|
|
29592
29638
|
|
|
29593
29639
|
@model_package_name.setter
|
|
@@ -33432,7 +33478,7 @@ class CfnModelPackageGroup(
|
|
|
33432
33478
|
metaclass=jsii.JSIIMeta,
|
|
33433
33479
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnModelPackageGroup",
|
|
33434
33480
|
):
|
|
33435
|
-
'''A group of versioned models in the
|
|
33481
|
+
'''A group of versioned models in the Model Registry.
|
|
33436
33482
|
|
|
33437
33483
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html
|
|
33438
33484
|
:cloudformationResource: AWS::SageMaker::ModelPackageGroup
|
|
@@ -33815,7 +33861,7 @@ class CfnModelPackageProps:
|
|
|
33815
33861
|
:param model_metrics: Metrics for the model.
|
|
33816
33862
|
:param model_package_description: The description of the model package.
|
|
33817
33863
|
:param model_package_group_name: The model group to which the model belongs.
|
|
33818
|
-
:param model_package_name: The name of the model.
|
|
33864
|
+
:param model_package_name: The name of the model package. The name can be as follows:. - For a versioned model, the name is automatically generated by SageMaker Model Registry and follows the format ' ``ModelPackageGroupName/ModelPackageVersion`` '. - For an unversioned model, you must provide the name.
|
|
33819
33865
|
:param model_package_status_details: Specifies the validation and image scan statuses of the model package.
|
|
33820
33866
|
:param model_package_version: The version number of a versioned model.
|
|
33821
33867
|
:param sample_payload_url: The Amazon Simple Storage Service path where the sample payload are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
|
|
@@ -34443,7 +34489,10 @@ class CfnModelPackageProps:
|
|
|
34443
34489
|
|
|
34444
34490
|
@builtins.property
|
|
34445
34491
|
def model_package_name(self) -> typing.Optional[builtins.str]:
|
|
34446
|
-
'''The name of the model.
|
|
34492
|
+
'''The name of the model package. The name can be as follows:.
|
|
34493
|
+
|
|
34494
|
+
- For a versioned model, the name is automatically generated by SageMaker Model Registry and follows the format ' ``ModelPackageGroupName/ModelPackageVersion`` '.
|
|
34495
|
+
- For an unversioned model, you must provide the name.
|
|
34447
34496
|
|
|
34448
34497
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackage.html#cfn-sagemaker-modelpackage-modelpackagename
|
|
34449
34498
|
'''
|
|
@@ -44224,7 +44273,7 @@ class CfnSpace(
|
|
|
44224
44273
|
) -> None:
|
|
44225
44274
|
'''The KernelGateway app settings.
|
|
44226
44275
|
|
|
44227
|
-
:param custom_images: A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
44276
|
+
:param custom_images: A list of custom SageMaker AI images that are configured to run as a KernelGateway app. The maximum number of custom images are as follows. - On a domain level: 200 - On a space level: 5 - On a user profile level: 5
|
|
44228
44277
|
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
44229
44278
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. .. epigraph:: To remove a Lifecycle Config, you must set ``LifecycleConfigArns`` to an empty list.
|
|
44230
44279
|
|
|
@@ -44273,6 +44322,12 @@ class CfnSpace(
|
|
|
44273
44322
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSpace.CustomImageProperty"]]]]:
|
|
44274
44323
|
'''A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
44275
44324
|
|
|
44325
|
+
The maximum number of custom images are as follows.
|
|
44326
|
+
|
|
44327
|
+
- On a domain level: 200
|
|
44328
|
+
- On a space level: 5
|
|
44329
|
+
- On a user profile level: 5
|
|
44330
|
+
|
|
44276
44331
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-kernelgatewayappsettings.html#cfn-sagemaker-space-kernelgatewayappsettings-customimages
|
|
44277
44332
|
'''
|
|
44278
44333
|
result = self._values.get("custom_images")
|
|
@@ -47131,7 +47186,7 @@ class CfnUserProfile(
|
|
|
47131
47186
|
) -> None:
|
|
47132
47187
|
'''The KernelGateway app settings.
|
|
47133
47188
|
|
|
47134
|
-
:param custom_images: A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
47189
|
+
:param custom_images: A list of custom SageMaker AI images that are configured to run as a KernelGateway app. The maximum number of custom images are as follows. - On a domain level: 200 - On a space level: 5 - On a user profile level: 5
|
|
47135
47190
|
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
47136
47191
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. .. epigraph:: To remove a Lifecycle Config, you must set ``LifecycleConfigArns`` to an empty list.
|
|
47137
47192
|
|
|
@@ -47180,6 +47235,12 @@ class CfnUserProfile(
|
|
|
47180
47235
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.CustomImageProperty"]]]]:
|
|
47181
47236
|
'''A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
47182
47237
|
|
|
47238
|
+
The maximum number of custom images are as follows.
|
|
47239
|
+
|
|
47240
|
+
- On a domain level: 200
|
|
47241
|
+
- On a space level: 5
|
|
47242
|
+
- On a user profile level: 5
|
|
47243
|
+
|
|
47183
47244
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html#cfn-sagemaker-userprofile-kernelgatewayappsettings-customimages
|
|
47184
47245
|
'''
|
|
47185
47246
|
result = self._values.get("custom_images")
|
|
@@ -50686,6 +50747,7 @@ def _typecheckingstub__685c22aefe4bd12e237f4e6f239c6de7809e228c81d2604127d6824fa
|
|
|
50686
50747
|
accelerator_type: typing.Optional[builtins.str] = None,
|
|
50687
50748
|
container_startup_health_check_timeout_in_seconds: typing.Optional[jsii.Number] = None,
|
|
50688
50749
|
enable_ssm_access: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
50750
|
+
inference_ami_version: typing.Optional[builtins.str] = None,
|
|
50689
50751
|
initial_instance_count: typing.Optional[jsii.Number] = None,
|
|
50690
50752
|
initial_variant_weight: typing.Optional[jsii.Number] = None,
|
|
50691
50753
|
instance_type: typing.Optional[builtins.str] = None,
|
|
@@ -355,6 +355,9 @@ class CfnDataLake(
|
|
|
355
355
|
You can enable Security Lake in AWS Regions with customized settings before enabling log collection in Regions. To specify particular Regions, configure these Regions using the ``configurations`` parameter. If you have already enabled Security Lake in a Region when you call this command, the command will update the Region if you provide new configuration parameters. If you have not already enabled Security Lake in the Region when you call this API, it will set up the data lake in the Region with the specified configurations.
|
|
356
356
|
|
|
357
357
|
When you enable Security Lake , it starts ingesting security data after the ``CreateAwsLogSource`` call. This includes ingesting security data from sources, storing data, and making data accessible to subscribers. Security Lake also enables all the existing settings and resources that it stores or maintains for your AWS account in the current Region, including security log and event data. For more information, see the `Amazon Security Lake User Guide <https://docs.aws.amazon.com//security-lake/latest/userguide/what-is-security-lake.html>`_ .
|
|
358
|
+
.. epigraph::
|
|
359
|
+
|
|
360
|
+
If you use this template to create multiple data lakes in different AWS Regions , and more than one of your data lakes include an `AWS::SecurityLake::AwsLogSource <https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html>`_ resource, then you must deploy these data lakes sequentially. This is required because data lakes operate globally, and ``AwsLogSource`` resources must be deployed one at a time.
|
|
358
361
|
|
|
359
362
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-datalake.html
|
|
360
363
|
:cloudformationResource: AWS::SecurityLake::DataLake
|
aws_cdk/aws_sns/__init__.py
CHANGED
|
@@ -2798,6 +2798,19 @@ class ITopic(
|
|
|
2798
2798
|
'''
|
|
2799
2799
|
...
|
|
2800
2800
|
|
|
2801
|
+
@builtins.property
|
|
2802
|
+
@jsii.member(jsii_name="masterKey")
|
|
2803
|
+
def master_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
2804
|
+
'''A KMS Key, either managed by this CDK app, or imported.
|
|
2805
|
+
|
|
2806
|
+
This property applies only to server-side encryption.
|
|
2807
|
+
|
|
2808
|
+
:default: None
|
|
2809
|
+
|
|
2810
|
+
:see: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
2811
|
+
'''
|
|
2812
|
+
...
|
|
2813
|
+
|
|
2801
2814
|
@jsii.member(jsii_name="addSubscription")
|
|
2802
2815
|
def add_subscription(self, subscription: "ITopicSubscription") -> "Subscription":
|
|
2803
2816
|
'''Subscribe some endpoint to this topic.
|
|
@@ -3204,6 +3217,19 @@ class _ITopicProxy(
|
|
|
3204
3217
|
'''
|
|
3205
3218
|
return typing.cast(builtins.str, jsii.get(self, "topicName"))
|
|
3206
3219
|
|
|
3220
|
+
@builtins.property
|
|
3221
|
+
@jsii.member(jsii_name="masterKey")
|
|
3222
|
+
def master_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
3223
|
+
'''A KMS Key, either managed by this CDK app, or imported.
|
|
3224
|
+
|
|
3225
|
+
This property applies only to server-side encryption.
|
|
3226
|
+
|
|
3227
|
+
:default: None
|
|
3228
|
+
|
|
3229
|
+
:see: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
|
|
3230
|
+
'''
|
|
3231
|
+
return typing.cast(typing.Optional[_IKey_5f11635f], jsii.get(self, "masterKey"))
|
|
3232
|
+
|
|
3207
3233
|
@jsii.member(jsii_name="addSubscription")
|
|
3208
3234
|
def add_subscription(self, subscription: "ITopicSubscription") -> "Subscription":
|
|
3209
3235
|
'''Subscribe some endpoint to this topic.
|
|
@@ -5058,6 +5084,7 @@ class ThrottlePolicy:
|
|
|
5058
5084
|
name_mapping={
|
|
5059
5085
|
"topic_arn": "topicArn",
|
|
5060
5086
|
"content_based_deduplication": "contentBasedDeduplication",
|
|
5087
|
+
"key_arn": "keyArn",
|
|
5061
5088
|
},
|
|
5062
5089
|
)
|
|
5063
5090
|
class TopicAttributes:
|
|
@@ -5066,11 +5093,13 @@ class TopicAttributes:
|
|
|
5066
5093
|
*,
|
|
5067
5094
|
topic_arn: builtins.str,
|
|
5068
5095
|
content_based_deduplication: typing.Optional[builtins.bool] = None,
|
|
5096
|
+
key_arn: typing.Optional[builtins.str] = None,
|
|
5069
5097
|
) -> None:
|
|
5070
5098
|
'''Represents an SNS topic defined outside of this stack.
|
|
5071
5099
|
|
|
5072
5100
|
:param topic_arn: The ARN of the SNS topic.
|
|
5073
5101
|
:param content_based_deduplication: Whether content-based deduplication is enabled. Only applicable for FIFO topics. Default: false
|
|
5102
|
+
:param key_arn: KMS encryption key, if this topic is server-side encrypted by a KMS key. Default: - None
|
|
5074
5103
|
|
|
5075
5104
|
:exampleMetadata: fixture=_generated
|
|
5076
5105
|
|
|
@@ -5084,18 +5113,22 @@ class TopicAttributes:
|
|
|
5084
5113
|
topic_arn="topicArn",
|
|
5085
5114
|
|
|
5086
5115
|
# the properties below are optional
|
|
5087
|
-
content_based_deduplication=False
|
|
5116
|
+
content_based_deduplication=False,
|
|
5117
|
+
key_arn="keyArn"
|
|
5088
5118
|
)
|
|
5089
5119
|
'''
|
|
5090
5120
|
if __debug__:
|
|
5091
5121
|
type_hints = typing.get_type_hints(_typecheckingstub__b8362e16cf38fb93899cf1443c05ea87f926cf385d45c4f25eb95067bff9642a)
|
|
5092
5122
|
check_type(argname="argument topic_arn", value=topic_arn, expected_type=type_hints["topic_arn"])
|
|
5093
5123
|
check_type(argname="argument content_based_deduplication", value=content_based_deduplication, expected_type=type_hints["content_based_deduplication"])
|
|
5124
|
+
check_type(argname="argument key_arn", value=key_arn, expected_type=type_hints["key_arn"])
|
|
5094
5125
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5095
5126
|
"topic_arn": topic_arn,
|
|
5096
5127
|
}
|
|
5097
5128
|
if content_based_deduplication is not None:
|
|
5098
5129
|
self._values["content_based_deduplication"] = content_based_deduplication
|
|
5130
|
+
if key_arn is not None:
|
|
5131
|
+
self._values["key_arn"] = key_arn
|
|
5099
5132
|
|
|
5100
5133
|
@builtins.property
|
|
5101
5134
|
def topic_arn(self) -> builtins.str:
|
|
@@ -5115,6 +5148,15 @@ class TopicAttributes:
|
|
|
5115
5148
|
result = self._values.get("content_based_deduplication")
|
|
5116
5149
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
5117
5150
|
|
|
5151
|
+
@builtins.property
|
|
5152
|
+
def key_arn(self) -> typing.Optional[builtins.str]:
|
|
5153
|
+
'''KMS encryption key, if this topic is server-side encrypted by a KMS key.
|
|
5154
|
+
|
|
5155
|
+
:default: - None
|
|
5156
|
+
'''
|
|
5157
|
+
result = self._values.get("key_arn")
|
|
5158
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5159
|
+
|
|
5118
5160
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5119
5161
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5120
5162
|
|
|
@@ -5746,6 +5788,16 @@ class TopicBase(
|
|
|
5746
5788
|
'''The name of the topic.'''
|
|
5747
5789
|
...
|
|
5748
5790
|
|
|
5791
|
+
@builtins.property
|
|
5792
|
+
@jsii.member(jsii_name="masterKey")
|
|
5793
|
+
@abc.abstractmethod
|
|
5794
|
+
def master_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
5795
|
+
'''A KMS Key, either managed by this CDK app, or imported.
|
|
5796
|
+
|
|
5797
|
+
This property applies only to server-side encryption.
|
|
5798
|
+
'''
|
|
5799
|
+
...
|
|
5800
|
+
|
|
5749
5801
|
@builtins.property
|
|
5750
5802
|
@jsii.member(jsii_name="enforceSSL")
|
|
5751
5803
|
def _enforce_ssl(self) -> typing.Optional[builtins.bool]:
|
|
@@ -5800,6 +5852,15 @@ class _TopicBaseProxy(
|
|
|
5800
5852
|
'''The name of the topic.'''
|
|
5801
5853
|
return typing.cast(builtins.str, jsii.get(self, "topicName"))
|
|
5802
5854
|
|
|
5855
|
+
@builtins.property
|
|
5856
|
+
@jsii.member(jsii_name="masterKey")
|
|
5857
|
+
def master_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
5858
|
+
'''A KMS Key, either managed by this CDK app, or imported.
|
|
5859
|
+
|
|
5860
|
+
This property applies only to server-side encryption.
|
|
5861
|
+
'''
|
|
5862
|
+
return typing.cast(typing.Optional[_IKey_5f11635f], jsii.get(self, "masterKey"))
|
|
5863
|
+
|
|
5803
5864
|
# Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class
|
|
5804
5865
|
typing.cast(typing.Any, TopicBase).__jsii_proxy_class__ = lambda : _TopicBaseProxy
|
|
5805
5866
|
|
|
@@ -6673,6 +6734,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
6673
6734
|
*,
|
|
6674
6735
|
topic_arn: builtins.str,
|
|
6675
6736
|
content_based_deduplication: typing.Optional[builtins.bool] = None,
|
|
6737
|
+
key_arn: typing.Optional[builtins.str] = None,
|
|
6676
6738
|
) -> ITopic:
|
|
6677
6739
|
'''Import an existing SNS topic provided a topic attributes.
|
|
6678
6740
|
|
|
@@ -6680,6 +6742,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
6680
6742
|
:param id: The construct's name.
|
|
6681
6743
|
:param topic_arn: The ARN of the SNS topic.
|
|
6682
6744
|
:param content_based_deduplication: Whether content-based deduplication is enabled. Only applicable for FIFO topics. Default: false
|
|
6745
|
+
:param key_arn: KMS encryption key, if this topic is server-side encrypted by a KMS key. Default: - None
|
|
6683
6746
|
'''
|
|
6684
6747
|
if __debug__:
|
|
6685
6748
|
type_hints = typing.get_type_hints(_typecheckingstub__3116994a7284b362cb667f2b74c1b4035605be5e3339d6c2782787473f6131f6)
|
|
@@ -6688,6 +6751,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
6688
6751
|
attrs = TopicAttributes(
|
|
6689
6752
|
topic_arn=topic_arn,
|
|
6690
6753
|
content_based_deduplication=content_based_deduplication,
|
|
6754
|
+
key_arn=key_arn,
|
|
6691
6755
|
)
|
|
6692
6756
|
|
|
6693
6757
|
return typing.cast(ITopic, jsii.sinvoke(cls, "fromTopicAttributes", [scope, id, attrs]))
|
|
@@ -6753,6 +6817,15 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
|
|
|
6753
6817
|
'''The name of the topic.'''
|
|
6754
6818
|
return typing.cast(builtins.str, jsii.get(self, "topicName"))
|
|
6755
6819
|
|
|
6820
|
+
@builtins.property
|
|
6821
|
+
@jsii.member(jsii_name="masterKey")
|
|
6822
|
+
def master_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
6823
|
+
'''A KMS Key, either managed by this CDK app, or imported.
|
|
6824
|
+
|
|
6825
|
+
This property applies only to server-side encryption.
|
|
6826
|
+
'''
|
|
6827
|
+
return typing.cast(typing.Optional[_IKey_5f11635f], jsii.get(self, "masterKey"))
|
|
6828
|
+
|
|
6756
6829
|
|
|
6757
6830
|
__all__ = [
|
|
6758
6831
|
"BackoffFunction",
|
|
@@ -7344,6 +7417,7 @@ def _typecheckingstub__b8362e16cf38fb93899cf1443c05ea87f926cf385d45c4f25eb95067b
|
|
|
7344
7417
|
*,
|
|
7345
7418
|
topic_arn: builtins.str,
|
|
7346
7419
|
content_based_deduplication: typing.Optional[builtins.bool] = None,
|
|
7420
|
+
key_arn: typing.Optional[builtins.str] = None,
|
|
7347
7421
|
) -> None:
|
|
7348
7422
|
"""Type checking stubs"""
|
|
7349
7423
|
pass
|
|
@@ -7513,6 +7587,7 @@ def _typecheckingstub__3116994a7284b362cb667f2b74c1b4035605be5e3339d6c2782787473
|
|
|
7513
7587
|
*,
|
|
7514
7588
|
topic_arn: builtins.str,
|
|
7515
7589
|
content_based_deduplication: typing.Optional[builtins.bool] = None,
|
|
7590
|
+
key_arn: typing.Optional[builtins.str] = None,
|
|
7516
7591
|
) -> None:
|
|
7517
7592
|
"""Type checking stubs"""
|
|
7518
7593
|
pass
|
|
@@ -1296,6 +1296,8 @@ class CfnCanary(
|
|
|
1296
1296
|
|
|
1297
1297
|
Canaries are scripts that monitor your endpoints and APIs from the outside-in. Canaries help you check the availability and latency of your web services and troubleshoot anomalies by investigating load time data, screenshots of the UI, logs, and metrics. You can set up a canary to run continuously or just once.
|
|
1298
1298
|
|
|
1299
|
+
Canaries are automated scripts that run at specified intervals against an endpoint. They include Python or Node.js code to create a Lambda function. This code needs to be packaged in a certain way, depending on the language. For more information, see `Writing a canary script <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_WritingCanary.html>`_ .
|
|
1300
|
+
|
|
1299
1301
|
To create canaries, you must have the ``CloudWatchSyntheticsFullAccess`` policy. If you are creating a new IAM role for the canary, you also need the the ``iam:CreateRole`` , ``iam:CreatePolicy`` and ``iam:AttachRolePolicy`` permissions. For more information, see `Necessary Roles and Permissions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Roles>`_ .
|
|
1300
1302
|
|
|
1301
1303
|
Do not include secrets or proprietary information in your canary names. The canary name makes up part of the Amazon Resource Name (ARN) for the canary, and the ARN is included in outbound calls over the internet. For more information, see `Security Considerations for Synthetics Canaries <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/servicelens_canaries_security.html>`_ .
|