aws-cdk-lib 2.194.0__py3-none-any.whl → 2.196.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 +435 -20
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.194.0.jsii.tgz → aws-cdk-lib@2.196.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +2 -2
- aws_cdk/aws_apigateway/__init__.py +208 -70
- aws_cdk/aws_apigatewayv2/__init__.py +155 -24
- aws_cdk/aws_appconfig/__init__.py +24 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
- aws_cdk/aws_appmesh/__init__.py +42 -0
- aws_cdk/aws_appsync/__init__.py +92 -20
- aws_cdk/aws_autoscaling/__init__.py +24 -0
- aws_cdk/aws_backup/__init__.py +53 -14
- aws_cdk/aws_batch/__init__.py +72 -0
- aws_cdk/aws_bedrock/__init__.py +1201 -18
- aws_cdk/aws_budgets/__init__.py +569 -0
- aws_cdk/aws_certificatemanager/__init__.py +21 -0
- aws_cdk/aws_chatbot/__init__.py +6 -0
- aws_cdk/aws_cloudfront/__init__.py +277 -120
- aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
- aws_cdk/aws_cloudtrail/__init__.py +6 -0
- aws_cdk/aws_cloudwatch/__init__.py +18 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codebuild/__init__.py +48 -0
- aws_cdk/aws_codecommit/__init__.py +6 -0
- aws_cdk/aws_codedeploy/__init__.py +63 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
- aws_cdk/aws_codepipeline/__init__.py +114 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
- aws_cdk/aws_codestarnotifications/__init__.py +6 -0
- aws_cdk/aws_cognito/__init__.py +215 -10
- aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
- aws_cdk/aws_config/__init__.py +36 -0
- aws_cdk/aws_datazone/__init__.py +1013 -100
- aws_cdk/aws_docdb/__init__.py +27 -3
- aws_cdk/aws_dsql/__init__.py +29 -12
- aws_cdk/aws_dynamodb/__init__.py +25 -11
- aws_cdk/aws_ec2/__init__.py +408 -23
- aws_cdk/aws_ecr/__init__.py +22 -14
- aws_cdk/aws_ecr_assets/__init__.py +6 -0
- aws_cdk/aws_ecs/__init__.py +116 -34
- aws_cdk/aws_ecs_patterns/__init__.py +58 -0
- aws_cdk/aws_efs/__init__.py +12 -0
- aws_cdk/aws_eks/__init__.py +42 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
- aws_cdk/aws_elasticsearch/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +36 -0
- aws_cdk/aws_events_targets/__init__.py +10 -10
- aws_cdk/aws_fsx/__init__.py +8 -3
- aws_cdk/aws_globalaccelerator/__init__.py +18 -0
- aws_cdk/aws_iam/__init__.py +66 -0
- aws_cdk/aws_imagebuilder/__init__.py +181 -26
- aws_cdk/aws_inspector/__init__.py +6 -0
- aws_cdk/aws_kinesis/__init__.py +19 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +7 -7
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +7 -7
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
- aws_cdk/aws_kms/__init__.py +16 -4
- aws_cdk/aws_lambda/__init__.py +76 -6
- aws_cdk/aws_lambda_nodejs/__init__.py +6 -0
- aws_cdk/aws_logs/__init__.py +155 -12
- aws_cdk/aws_medialive/__init__.py +4 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_opensearchservice/__init__.py +12 -0
- aws_cdk/aws_qbusiness/__init__.py +2 -2
- aws_cdk/aws_quicksight/__init__.py +22 -22
- aws_cdk/aws_rds/__init__.py +347 -36
- aws_cdk/aws_redshiftserverless/__init__.py +7 -7
- aws_cdk/aws_route53/__init__.py +735 -33
- aws_cdk/aws_route53_targets/__init__.py +62 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +37 -10
- aws_cdk/aws_s3_deployment/__init__.py +6 -0
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +452 -8
- aws_cdk/aws_scheduler/__init__.py +12 -0
- aws_cdk/aws_secretsmanager/__init__.py +24 -0
- aws_cdk/aws_servicecatalog/__init__.py +24 -0
- aws_cdk/aws_servicediscovery/__init__.py +48 -0
- aws_cdk/aws_ses/__init__.py +133 -33
- aws_cdk/aws_signer/__init__.py +6 -0
- aws_cdk/aws_sns/__init__.py +18 -0
- aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
- aws_cdk/aws_sqs/__init__.py +12 -0
- aws_cdk/aws_ssm/__init__.py +12 -0
- aws_cdk/aws_ssmcontacts/__init__.py +53 -2
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/aws_stepfunctions/__init__.py +153 -7
- aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
- aws_cdk/aws_synthetics/__init__.py +32 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
- aws_cdk/aws_vpclattice/__init__.py +3 -1
- aws_cdk/aws_wisdom/__init__.py +6 -4
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- aws_cdk/custom_resources/__init__.py +18 -0
- aws_cdk/cx_api/__init__.py +33 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +10 -10
- aws_cdk/triggers/__init__.py +6 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +84 -6
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +108 -107
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/top_level.txt +0 -0
|
@@ -13434,6 +13434,12 @@ class CallApiGatewayHttpApiEndpoint(
|
|
|
13434
13434
|
def _create_policy_statements(self) -> typing.List[_PolicyStatement_0fe33853]:
|
|
13435
13435
|
return typing.cast(typing.List[_PolicyStatement_0fe33853], jsii.invoke(self, "createPolicyStatements", []))
|
|
13436
13436
|
|
|
13437
|
+
@jsii.python.classproperty
|
|
13438
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
13439
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
13440
|
+
'''Uniquely identifies this class.'''
|
|
13441
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
13442
|
+
|
|
13437
13443
|
@builtins.property
|
|
13438
13444
|
@jsii.member(jsii_name="apiEndpoint")
|
|
13439
13445
|
def _api_endpoint(self) -> builtins.str:
|
|
@@ -14364,6 +14370,12 @@ class CallApiGatewayRestApiEndpoint(
|
|
|
14364
14370
|
def _create_policy_statements(self) -> typing.List[_PolicyStatement_0fe33853]:
|
|
14365
14371
|
return typing.cast(typing.List[_PolicyStatement_0fe33853], jsii.invoke(self, "createPolicyStatements", []))
|
|
14366
14372
|
|
|
14373
|
+
@jsii.python.classproperty
|
|
14374
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
14375
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
14376
|
+
'''Uniquely identifies this class.'''
|
|
14377
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
14378
|
+
|
|
14367
14379
|
@builtins.property
|
|
14368
14380
|
@jsii.member(jsii_name="apiEndpoint")
|
|
14369
14381
|
def _api_endpoint(self) -> builtins.str:
|
|
@@ -29885,6 +29897,12 @@ class EcsRunTask(
|
|
|
29885
29897
|
|
|
29886
29898
|
return typing.cast("EcsRunTask", jsii.sinvoke(cls, "jsonPath", [scope, id, props]))
|
|
29887
29899
|
|
|
29900
|
+
@jsii.python.classproperty
|
|
29901
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
29902
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
29903
|
+
'''Uniquely identifies this class.'''
|
|
29904
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
29905
|
+
|
|
29888
29906
|
@builtins.property
|
|
29889
29907
|
@jsii.member(jsii_name="connections")
|
|
29890
29908
|
def connections(self) -> _Connections_0f31fce8:
|
|
@@ -67313,6 +67331,12 @@ class SageMakerCreateEndpointConfig(
|
|
|
67313
67331
|
|
|
67314
67332
|
return typing.cast("SageMakerCreateEndpointConfig", jsii.sinvoke(cls, "jsonPath", [scope, id, props]))
|
|
67315
67333
|
|
|
67334
|
+
@jsii.python.classproperty
|
|
67335
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
67336
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
67337
|
+
'''Uniquely identifies this class.'''
|
|
67338
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
67339
|
+
|
|
67316
67340
|
@builtins.property
|
|
67317
67341
|
@jsii.member(jsii_name="taskMetrics")
|
|
67318
67342
|
def _task_metrics(self) -> typing.Optional[_TaskMetricsConfig_32ea9403]:
|
|
@@ -69846,6 +69870,12 @@ class SageMakerCreateModel(
|
|
|
69846
69870
|
check_type(argname="argument security_group", value=security_group, expected_type=type_hints["security_group"])
|
|
69847
69871
|
return typing.cast(None, jsii.invoke(self, "addSecurityGroup", [security_group]))
|
|
69848
69872
|
|
|
69873
|
+
@jsii.python.classproperty
|
|
69874
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
69875
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
69876
|
+
'''Uniquely identifies this class.'''
|
|
69877
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
69878
|
+
|
|
69849
69879
|
@builtins.property
|
|
69850
69880
|
@jsii.member(jsii_name="connections")
|
|
69851
69881
|
def connections(self) -> _Connections_0f31fce8:
|
|
@@ -71561,6 +71591,12 @@ class SageMakerCreateTrainingJob(
|
|
|
71561
71591
|
check_type(argname="argument security_group", value=security_group, expected_type=type_hints["security_group"])
|
|
71562
71592
|
return typing.cast(None, jsii.invoke(self, "addSecurityGroup", [security_group]))
|
|
71563
71593
|
|
|
71594
|
+
@jsii.python.classproperty
|
|
71595
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
71596
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
71597
|
+
'''Uniquely identifies this class.'''
|
|
71598
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
71599
|
+
|
|
71564
71600
|
@builtins.property
|
|
71565
71601
|
@jsii.member(jsii_name="connections")
|
|
71566
71602
|
def connections(self) -> _Connections_0f31fce8:
|
|
@@ -85640,25 +85676,25 @@ class EcsEc2LaunchTarget(
|
|
|
85640
85676
|
@jsii.member(jsii_name="bind")
|
|
85641
85677
|
def bind(
|
|
85642
85678
|
self,
|
|
85643
|
-
|
|
85679
|
+
task: EcsRunTask,
|
|
85644
85680
|
*,
|
|
85645
85681
|
task_definition: _ITaskDefinition_889ba4d8,
|
|
85646
85682
|
cluster: typing.Optional[_ICluster_16cddd09] = None,
|
|
85647
85683
|
) -> EcsLaunchTargetConfig:
|
|
85648
85684
|
'''Called when the EC2 launch type is configured on RunTask.
|
|
85649
85685
|
|
|
85650
|
-
:param
|
|
85686
|
+
:param task: -
|
|
85651
85687
|
:param task_definition: Task definition to run Docker containers in Amazon ECS.
|
|
85652
85688
|
:param cluster: A regional grouping of one or more container instances on which you can run tasks and services. Default: - No cluster
|
|
85653
85689
|
'''
|
|
85654
85690
|
if __debug__:
|
|
85655
85691
|
type_hints = typing.get_type_hints(_typecheckingstub__193210761ae10b68dfdc04ae454b8c432675bc12145b65077c7c23ee6f35daa2)
|
|
85656
|
-
check_type(argname="argument
|
|
85692
|
+
check_type(argname="argument task", value=task, expected_type=type_hints["task"])
|
|
85657
85693
|
launch_target_options = LaunchTargetBindOptions(
|
|
85658
85694
|
task_definition=task_definition, cluster=cluster
|
|
85659
85695
|
)
|
|
85660
85696
|
|
|
85661
|
-
return typing.cast(EcsLaunchTargetConfig, jsii.invoke(self, "bind", [
|
|
85697
|
+
return typing.cast(EcsLaunchTargetConfig, jsii.invoke(self, "bind", [task, launch_target_options]))
|
|
85662
85698
|
|
|
85663
85699
|
|
|
85664
85700
|
@jsii.implements(IEcsLaunchTarget)
|
|
@@ -85715,25 +85751,25 @@ class EcsFargateLaunchTarget(
|
|
|
85715
85751
|
@jsii.member(jsii_name="bind")
|
|
85716
85752
|
def bind(
|
|
85717
85753
|
self,
|
|
85718
|
-
|
|
85754
|
+
task: EcsRunTask,
|
|
85719
85755
|
*,
|
|
85720
85756
|
task_definition: _ITaskDefinition_889ba4d8,
|
|
85721
85757
|
cluster: typing.Optional[_ICluster_16cddd09] = None,
|
|
85722
85758
|
) -> EcsLaunchTargetConfig:
|
|
85723
85759
|
'''Called when the Fargate launch type configured on RunTask.
|
|
85724
85760
|
|
|
85725
|
-
:param
|
|
85761
|
+
:param task: -
|
|
85726
85762
|
:param task_definition: Task definition to run Docker containers in Amazon ECS.
|
|
85727
85763
|
:param cluster: A regional grouping of one or more container instances on which you can run tasks and services. Default: - No cluster
|
|
85728
85764
|
'''
|
|
85729
85765
|
if __debug__:
|
|
85730
85766
|
type_hints = typing.get_type_hints(_typecheckingstub__7c19025da4101b4b8d2482e0216270cc5e94fe58381fdba0b4cf99f04e2776b9)
|
|
85731
|
-
check_type(argname="argument
|
|
85767
|
+
check_type(argname="argument task", value=task, expected_type=type_hints["task"])
|
|
85732
85768
|
launch_target_options = LaunchTargetBindOptions(
|
|
85733
85769
|
task_definition=task_definition, cluster=cluster
|
|
85734
85770
|
)
|
|
85735
85771
|
|
|
85736
|
-
return typing.cast(EcsLaunchTargetConfig, jsii.invoke(self, "bind", [
|
|
85772
|
+
return typing.cast(EcsLaunchTargetConfig, jsii.invoke(self, "bind", [task, launch_target_options]))
|
|
85737
85773
|
|
|
85738
85774
|
|
|
85739
85775
|
__all__ = [
|
|
@@ -94414,7 +94450,7 @@ def _typecheckingstub__a8584021dc58453ae786ca7a6b0d6b228d99e24e96189ad9dd7ce18d3
|
|
|
94414
94450
|
pass
|
|
94415
94451
|
|
|
94416
94452
|
def _typecheckingstub__193210761ae10b68dfdc04ae454b8c432675bc12145b65077c7c23ee6f35daa2(
|
|
94417
|
-
|
|
94453
|
+
task: EcsRunTask,
|
|
94418
94454
|
*,
|
|
94419
94455
|
task_definition: _ITaskDefinition_889ba4d8,
|
|
94420
94456
|
cluster: typing.Optional[_ICluster_16cddd09] = None,
|
|
@@ -94423,7 +94459,7 @@ def _typecheckingstub__193210761ae10b68dfdc04ae454b8c432675bc12145b65077c7c23ee6
|
|
|
94423
94459
|
pass
|
|
94424
94460
|
|
|
94425
94461
|
def _typecheckingstub__7c19025da4101b4b8d2482e0216270cc5e94fe58381fdba0b4cf99f04e2776b9(
|
|
94426
|
-
|
|
94462
|
+
task: EcsRunTask,
|
|
94427
94463
|
*,
|
|
94428
94464
|
task_definition: _ITaskDefinition_889ba4d8,
|
|
94429
94465
|
cluster: typing.Optional[_ICluster_16cddd09] = None,
|
|
@@ -779,6 +779,12 @@ class Canary(
|
|
|
779
779
|
|
|
780
780
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSuccessPercent", [options]))
|
|
781
781
|
|
|
782
|
+
@jsii.python.classproperty
|
|
783
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
784
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
785
|
+
'''Uniquely identifies this class.'''
|
|
786
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
787
|
+
|
|
782
788
|
@builtins.property
|
|
783
789
|
@jsii.member(jsii_name="artifactsBucket")
|
|
784
790
|
def artifacts_bucket(self) -> _IBucket_42e086fd:
|
|
@@ -4185,6 +4191,32 @@ class Runtime(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_synthetics.Run
|
|
|
4185
4191
|
'''
|
|
4186
4192
|
return typing.cast("Runtime", jsii.sget(cls, "SYNTHETICS_PYTHON_SELENIUM_4_1"))
|
|
4187
4193
|
|
|
4194
|
+
@jsii.python.classproperty
|
|
4195
|
+
@jsii.member(jsii_name="SYNTHETICS_PYTHON_SELENIUM_5_0")
|
|
4196
|
+
def SYNTHETICS_PYTHON_SELENIUM_5_0(cls) -> "Runtime":
|
|
4197
|
+
'''``syn-python-selenium-5.0`` includes the following: - Lambda runtime Python 3.9 - Selenium version 4.21.0 - Chromium version 131.0.6778.264.
|
|
4198
|
+
|
|
4199
|
+
New Features:
|
|
4200
|
+
|
|
4201
|
+
- Automatic retry if the browser fails to launch.
|
|
4202
|
+
|
|
4203
|
+
:see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-5.0
|
|
4204
|
+
'''
|
|
4205
|
+
return typing.cast("Runtime", jsii.sget(cls, "SYNTHETICS_PYTHON_SELENIUM_5_0"))
|
|
4206
|
+
|
|
4207
|
+
@jsii.python.classproperty
|
|
4208
|
+
@jsii.member(jsii_name="SYNTHETICS_PYTHON_SELENIUM_5_1")
|
|
4209
|
+
def SYNTHETICS_PYTHON_SELENIUM_5_1(cls) -> "Runtime":
|
|
4210
|
+
'''``syn-python-selenium-5.1`` includes the following: - Lambda runtime Python 3.9 - Selenium version 4.21.0 - Chromium version 131.0.6778.264.
|
|
4211
|
+
|
|
4212
|
+
New Features:
|
|
4213
|
+
|
|
4214
|
+
- Minor updates on metric emission.
|
|
4215
|
+
|
|
4216
|
+
:see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_python_selenium.html#CloudWatch_Synthetics_runtimeversion-syn-python-selenium-5.1
|
|
4217
|
+
'''
|
|
4218
|
+
return typing.cast("Runtime", jsii.sget(cls, "SYNTHETICS_PYTHON_SELENIUM_5_1"))
|
|
4219
|
+
|
|
4188
4220
|
@builtins.property
|
|
4189
4221
|
@jsii.member(jsii_name="family")
|
|
4190
4222
|
def family(self) -> "RuntimeFamily":
|
|
@@ -70,8 +70,11 @@ from .._jsii import *
|
|
|
70
70
|
import constructs as _constructs_77d1e7e8
|
|
71
71
|
from .. import (
|
|
72
72
|
CfnResource as _CfnResource_9df397a6,
|
|
73
|
+
CfnTag as _CfnTag_f6864754,
|
|
73
74
|
IInspectable as _IInspectable_c2943556,
|
|
74
75
|
IResolvable as _IResolvable_da3f097b,
|
|
76
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
77
|
+
TagManager as _TagManager_0a598cb3,
|
|
75
78
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
76
79
|
)
|
|
77
80
|
|
|
@@ -1895,7 +1898,7 @@ class CfnPolicyProps:
|
|
|
1895
1898
|
)
|
|
1896
1899
|
|
|
1897
1900
|
|
|
1898
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1901
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
1899
1902
|
class CfnPolicyStore(
|
|
1900
1903
|
_CfnResource_9df397a6,
|
|
1901
1904
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1921,10 +1924,17 @@ class CfnPolicyStore(
|
|
|
1921
1924
|
),
|
|
1922
1925
|
|
|
1923
1926
|
# the properties below are optional
|
|
1927
|
+
deletion_protection=verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty(
|
|
1928
|
+
mode="mode"
|
|
1929
|
+
),
|
|
1924
1930
|
description="description",
|
|
1925
1931
|
schema=verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty(
|
|
1926
1932
|
cedar_json="cedarJson"
|
|
1927
|
-
)
|
|
1933
|
+
),
|
|
1934
|
+
tags=[CfnTag(
|
|
1935
|
+
key="key",
|
|
1936
|
+
value="value"
|
|
1937
|
+
)]
|
|
1928
1938
|
)
|
|
1929
1939
|
'''
|
|
1930
1940
|
|
|
@@ -1934,15 +1944,19 @@ class CfnPolicyStore(
|
|
|
1934
1944
|
id: builtins.str,
|
|
1935
1945
|
*,
|
|
1936
1946
|
validation_settings: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPolicyStore.ValidationSettingsProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1947
|
+
deletion_protection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPolicyStore.DeletionProtectionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1937
1948
|
description: typing.Optional[builtins.str] = None,
|
|
1938
1949
|
schema: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPolicyStore.SchemaDefinitionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1950
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1939
1951
|
) -> None:
|
|
1940
1952
|
'''
|
|
1941
1953
|
:param scope: Scope in which this resource is defined.
|
|
1942
1954
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1943
1955
|
:param validation_settings: Specifies the validation setting for this policy store. Currently, the only valid and required value is ``Mode`` . .. epigraph:: We recommend that you turn on ``STRICT`` mode only after you define a schema. If a schema doesn't exist, then ``STRICT`` mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the `UpdatePolicyStore <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore>`_ . Then, when you have a schema defined, use `UpdatePolicyStore <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore>`_ again to turn validation back on.
|
|
1956
|
+
:param deletion_protection:
|
|
1944
1957
|
:param description: Descriptive text that you can provide to help with identification of the current policy store.
|
|
1945
1958
|
:param schema: Creates or updates the policy schema in a policy store. Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.
|
|
1959
|
+
:param tags: The list of key-value pairs to associate with the policy store.
|
|
1946
1960
|
'''
|
|
1947
1961
|
if __debug__:
|
|
1948
1962
|
type_hints = typing.get_type_hints(_typecheckingstub__8cc0f2986096a74fa71e43f21c340737b2abb3e3f40afbfe29ca3f0bd9b39ee9)
|
|
@@ -1950,8 +1964,10 @@ class CfnPolicyStore(
|
|
|
1950
1964
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1951
1965
|
props = CfnPolicyStoreProps(
|
|
1952
1966
|
validation_settings=validation_settings,
|
|
1967
|
+
deletion_protection=deletion_protection,
|
|
1953
1968
|
description=description,
|
|
1954
1969
|
schema=schema,
|
|
1970
|
+
tags=tags,
|
|
1955
1971
|
)
|
|
1956
1972
|
|
|
1957
1973
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -2004,6 +2020,12 @@ class CfnPolicyStore(
|
|
|
2004
2020
|
'''
|
|
2005
2021
|
return typing.cast(builtins.str, jsii.get(self, "attrPolicyStoreId"))
|
|
2006
2022
|
|
|
2023
|
+
@builtins.property
|
|
2024
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
2025
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
2026
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
2027
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
2028
|
+
|
|
2007
2029
|
@builtins.property
|
|
2008
2030
|
@jsii.member(jsii_name="cfnProperties")
|
|
2009
2031
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -2027,6 +2049,23 @@ class CfnPolicyStore(
|
|
|
2027
2049
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2028
2050
|
jsii.set(self, "validationSettings", value) # pyright: ignore[reportArgumentType]
|
|
2029
2051
|
|
|
2052
|
+
@builtins.property
|
|
2053
|
+
@jsii.member(jsii_name="deletionProtection")
|
|
2054
|
+
def deletion_protection(
|
|
2055
|
+
self,
|
|
2056
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPolicyStore.DeletionProtectionProperty"]]:
|
|
2057
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPolicyStore.DeletionProtectionProperty"]], jsii.get(self, "deletionProtection"))
|
|
2058
|
+
|
|
2059
|
+
@deletion_protection.setter
|
|
2060
|
+
def deletion_protection(
|
|
2061
|
+
self,
|
|
2062
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPolicyStore.DeletionProtectionProperty"]],
|
|
2063
|
+
) -> None:
|
|
2064
|
+
if __debug__:
|
|
2065
|
+
type_hints = typing.get_type_hints(_typecheckingstub__57833e423b36e13e7920abdf1a2596b9080e63fa65941f6d185d155792d5ccf6)
|
|
2066
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2067
|
+
jsii.set(self, "deletionProtection", value) # pyright: ignore[reportArgumentType]
|
|
2068
|
+
|
|
2030
2069
|
@builtins.property
|
|
2031
2070
|
@jsii.member(jsii_name="description")
|
|
2032
2071
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -2058,6 +2097,71 @@ class CfnPolicyStore(
|
|
|
2058
2097
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2059
2098
|
jsii.set(self, "schema", value) # pyright: ignore[reportArgumentType]
|
|
2060
2099
|
|
|
2100
|
+
@builtins.property
|
|
2101
|
+
@jsii.member(jsii_name="tags")
|
|
2102
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2103
|
+
'''The list of key-value pairs to associate with the policy store.'''
|
|
2104
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
2105
|
+
|
|
2106
|
+
@tags.setter
|
|
2107
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
2108
|
+
if __debug__:
|
|
2109
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a4e637b2595daab8d8dca7da125f3bf21d442c1f8fb59f4caefd71bced88d6b5)
|
|
2110
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2111
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
2112
|
+
|
|
2113
|
+
@jsii.data_type(
|
|
2114
|
+
jsii_type="aws-cdk-lib.aws_verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty",
|
|
2115
|
+
jsii_struct_bases=[],
|
|
2116
|
+
name_mapping={"mode": "mode"},
|
|
2117
|
+
)
|
|
2118
|
+
class DeletionProtectionProperty:
|
|
2119
|
+
def __init__(self, *, mode: builtins.str) -> None:
|
|
2120
|
+
'''
|
|
2121
|
+
:param mode: Default: - "DISABLED"
|
|
2122
|
+
|
|
2123
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-deletionprotection.html
|
|
2124
|
+
:exampleMetadata: fixture=_generated
|
|
2125
|
+
|
|
2126
|
+
Example::
|
|
2127
|
+
|
|
2128
|
+
# The code below shows an example of how to instantiate this type.
|
|
2129
|
+
# The values are placeholders you should change.
|
|
2130
|
+
from aws_cdk import aws_verifiedpermissions as verifiedpermissions
|
|
2131
|
+
|
|
2132
|
+
deletion_protection_property = verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty(
|
|
2133
|
+
mode="mode"
|
|
2134
|
+
)
|
|
2135
|
+
'''
|
|
2136
|
+
if __debug__:
|
|
2137
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c70b9477a0dc9dad5a293d5f268b74672d7816a3722f79105d3236fca32076a9)
|
|
2138
|
+
check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
|
|
2139
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2140
|
+
"mode": mode,
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
@builtins.property
|
|
2144
|
+
def mode(self) -> builtins.str:
|
|
2145
|
+
'''
|
|
2146
|
+
:default: - "DISABLED"
|
|
2147
|
+
|
|
2148
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-deletionprotection.html#cfn-verifiedpermissions-policystore-deletionprotection-mode
|
|
2149
|
+
'''
|
|
2150
|
+
result = self._values.get("mode")
|
|
2151
|
+
assert result is not None, "Required property 'mode' is missing"
|
|
2152
|
+
return typing.cast(builtins.str, result)
|
|
2153
|
+
|
|
2154
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2155
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2156
|
+
|
|
2157
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2158
|
+
return not (rhs == self)
|
|
2159
|
+
|
|
2160
|
+
def __repr__(self) -> str:
|
|
2161
|
+
return "DeletionProtectionProperty(%s)" % ", ".join(
|
|
2162
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2163
|
+
)
|
|
2164
|
+
|
|
2061
2165
|
@jsii.data_type(
|
|
2062
2166
|
jsii_type="aws-cdk-lib.aws_verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty",
|
|
2063
2167
|
jsii_struct_bases=[],
|
|
@@ -2182,8 +2286,10 @@ class CfnPolicyStore(
|
|
|
2182
2286
|
jsii_struct_bases=[],
|
|
2183
2287
|
name_mapping={
|
|
2184
2288
|
"validation_settings": "validationSettings",
|
|
2289
|
+
"deletion_protection": "deletionProtection",
|
|
2185
2290
|
"description": "description",
|
|
2186
2291
|
"schema": "schema",
|
|
2292
|
+
"tags": "tags",
|
|
2187
2293
|
},
|
|
2188
2294
|
)
|
|
2189
2295
|
class CfnPolicyStoreProps:
|
|
@@ -2191,14 +2297,18 @@ class CfnPolicyStoreProps:
|
|
|
2191
2297
|
self,
|
|
2192
2298
|
*,
|
|
2193
2299
|
validation_settings: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.ValidationSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2300
|
+
deletion_protection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.DeletionProtectionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2194
2301
|
description: typing.Optional[builtins.str] = None,
|
|
2195
2302
|
schema: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.SchemaDefinitionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2303
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2196
2304
|
) -> None:
|
|
2197
2305
|
'''Properties for defining a ``CfnPolicyStore``.
|
|
2198
2306
|
|
|
2199
2307
|
:param validation_settings: Specifies the validation setting for this policy store. Currently, the only valid and required value is ``Mode`` . .. epigraph:: We recommend that you turn on ``STRICT`` mode only after you define a schema. If a schema doesn't exist, then ``STRICT`` mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the `UpdatePolicyStore <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore>`_ . Then, when you have a schema defined, use `UpdatePolicyStore <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore>`_ again to turn validation back on.
|
|
2308
|
+
:param deletion_protection:
|
|
2200
2309
|
:param description: Descriptive text that you can provide to help with identification of the current policy store.
|
|
2201
2310
|
:param schema: Creates or updates the policy schema in a policy store. Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.
|
|
2311
|
+
:param tags: The list of key-value pairs to associate with the policy store.
|
|
2202
2312
|
|
|
2203
2313
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policystore.html
|
|
2204
2314
|
:exampleMetadata: fixture=_generated
|
|
@@ -2215,24 +2325,37 @@ class CfnPolicyStoreProps:
|
|
|
2215
2325
|
),
|
|
2216
2326
|
|
|
2217
2327
|
# the properties below are optional
|
|
2328
|
+
deletion_protection=verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty(
|
|
2329
|
+
mode="mode"
|
|
2330
|
+
),
|
|
2218
2331
|
description="description",
|
|
2219
2332
|
schema=verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty(
|
|
2220
2333
|
cedar_json="cedarJson"
|
|
2221
|
-
)
|
|
2334
|
+
),
|
|
2335
|
+
tags=[CfnTag(
|
|
2336
|
+
key="key",
|
|
2337
|
+
value="value"
|
|
2338
|
+
)]
|
|
2222
2339
|
)
|
|
2223
2340
|
'''
|
|
2224
2341
|
if __debug__:
|
|
2225
2342
|
type_hints = typing.get_type_hints(_typecheckingstub__0f8a612a98cf26f16f9e9de3e5b0a5faaf9ae49bfb39376380ab1ee24d31ca9f)
|
|
2226
2343
|
check_type(argname="argument validation_settings", value=validation_settings, expected_type=type_hints["validation_settings"])
|
|
2344
|
+
check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
|
|
2227
2345
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2228
2346
|
check_type(argname="argument schema", value=schema, expected_type=type_hints["schema"])
|
|
2347
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2229
2348
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2230
2349
|
"validation_settings": validation_settings,
|
|
2231
2350
|
}
|
|
2351
|
+
if deletion_protection is not None:
|
|
2352
|
+
self._values["deletion_protection"] = deletion_protection
|
|
2232
2353
|
if description is not None:
|
|
2233
2354
|
self._values["description"] = description
|
|
2234
2355
|
if schema is not None:
|
|
2235
2356
|
self._values["schema"] = schema
|
|
2357
|
+
if tags is not None:
|
|
2358
|
+
self._values["tags"] = tags
|
|
2236
2359
|
|
|
2237
2360
|
@builtins.property
|
|
2238
2361
|
def validation_settings(
|
|
@@ -2251,6 +2374,16 @@ class CfnPolicyStoreProps:
|
|
|
2251
2374
|
assert result is not None, "Required property 'validation_settings' is missing"
|
|
2252
2375
|
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnPolicyStore.ValidationSettingsProperty], result)
|
|
2253
2376
|
|
|
2377
|
+
@builtins.property
|
|
2378
|
+
def deletion_protection(
|
|
2379
|
+
self,
|
|
2380
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPolicyStore.DeletionProtectionProperty]]:
|
|
2381
|
+
'''
|
|
2382
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policystore.html#cfn-verifiedpermissions-policystore-deletionprotection
|
|
2383
|
+
'''
|
|
2384
|
+
result = self._values.get("deletion_protection")
|
|
2385
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPolicyStore.DeletionProtectionProperty]], result)
|
|
2386
|
+
|
|
2254
2387
|
@builtins.property
|
|
2255
2388
|
def description(self) -> typing.Optional[builtins.str]:
|
|
2256
2389
|
'''Descriptive text that you can provide to help with identification of the current policy store.
|
|
@@ -2273,6 +2406,15 @@ class CfnPolicyStoreProps:
|
|
|
2273
2406
|
result = self._values.get("schema")
|
|
2274
2407
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPolicyStore.SchemaDefinitionProperty]], result)
|
|
2275
2408
|
|
|
2409
|
+
@builtins.property
|
|
2410
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2411
|
+
'''The list of key-value pairs to associate with the policy store.
|
|
2412
|
+
|
|
2413
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policystore.html#cfn-verifiedpermissions-policystore-tags
|
|
2414
|
+
'''
|
|
2415
|
+
result = self._values.get("tags")
|
|
2416
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
2417
|
+
|
|
2276
2418
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2277
2419
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2278
2420
|
|
|
@@ -2738,8 +2880,10 @@ def _typecheckingstub__8cc0f2986096a74fa71e43f21c340737b2abb3e3f40afbfe29ca3f0bd
|
|
|
2738
2880
|
id: builtins.str,
|
|
2739
2881
|
*,
|
|
2740
2882
|
validation_settings: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.ValidationSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2883
|
+
deletion_protection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.DeletionProtectionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2741
2884
|
description: typing.Optional[builtins.str] = None,
|
|
2742
2885
|
schema: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.SchemaDefinitionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2886
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2743
2887
|
) -> None:
|
|
2744
2888
|
"""Type checking stubs"""
|
|
2745
2889
|
pass
|
|
@@ -2762,6 +2906,12 @@ def _typecheckingstub__f75a45bc8d480e61f7e4827904f9e4cfad1881a595a32bf1bebfb6efb
|
|
|
2762
2906
|
"""Type checking stubs"""
|
|
2763
2907
|
pass
|
|
2764
2908
|
|
|
2909
|
+
def _typecheckingstub__57833e423b36e13e7920abdf1a2596b9080e63fa65941f6d185d155792d5ccf6(
|
|
2910
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPolicyStore.DeletionProtectionProperty]],
|
|
2911
|
+
) -> None:
|
|
2912
|
+
"""Type checking stubs"""
|
|
2913
|
+
pass
|
|
2914
|
+
|
|
2765
2915
|
def _typecheckingstub__fc845780a5a1510b90c3ed3b31f4edddbe3eb47e0d043f7f9f7b3f43b1788034(
|
|
2766
2916
|
value: typing.Optional[builtins.str],
|
|
2767
2917
|
) -> None:
|
|
@@ -2774,6 +2924,19 @@ def _typecheckingstub__59218b40bcf4539ad10409fa2f065ad910ceb568598b66b8276c1d884
|
|
|
2774
2924
|
"""Type checking stubs"""
|
|
2775
2925
|
pass
|
|
2776
2926
|
|
|
2927
|
+
def _typecheckingstub__a4e637b2595daab8d8dca7da125f3bf21d442c1f8fb59f4caefd71bced88d6b5(
|
|
2928
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
2929
|
+
) -> None:
|
|
2930
|
+
"""Type checking stubs"""
|
|
2931
|
+
pass
|
|
2932
|
+
|
|
2933
|
+
def _typecheckingstub__c70b9477a0dc9dad5a293d5f268b74672d7816a3722f79105d3236fca32076a9(
|
|
2934
|
+
*,
|
|
2935
|
+
mode: builtins.str,
|
|
2936
|
+
) -> None:
|
|
2937
|
+
"""Type checking stubs"""
|
|
2938
|
+
pass
|
|
2939
|
+
|
|
2777
2940
|
def _typecheckingstub__40c95b318ee977eff43d9078495fc0215bd302506cf821187fe6998b1a04ee9f(
|
|
2778
2941
|
*,
|
|
2779
2942
|
cedar_json: typing.Optional[builtins.str] = None,
|
|
@@ -2791,8 +2954,10 @@ def _typecheckingstub__441c781d6c8944f199761ac7a1433da41be4b40fc2d3cbb5df9ccf860
|
|
|
2791
2954
|
def _typecheckingstub__0f8a612a98cf26f16f9e9de3e5b0a5faaf9ae49bfb39376380ab1ee24d31ca9f(
|
|
2792
2955
|
*,
|
|
2793
2956
|
validation_settings: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.ValidationSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2957
|
+
deletion_protection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.DeletionProtectionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2794
2958
|
description: typing.Optional[builtins.str] = None,
|
|
2795
2959
|
schema: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicyStore.SchemaDefinitionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2960
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2796
2961
|
) -> None:
|
|
2797
2962
|
"""Type checking stubs"""
|
|
2798
2963
|
pass
|
|
@@ -1592,7 +1592,7 @@ class CfnResourceConfiguration(
|
|
|
1592
1592
|
'''The domain name of the resource configuration.
|
|
1593
1593
|
|
|
1594
1594
|
:param domain_name: The domain name of the resource configuration.
|
|
1595
|
-
:param ip_address_type: The IP address type for the resource configuration.
|
|
1595
|
+
:param ip_address_type: The IP address type for the resource configuration. Dualstack is not currently supported.
|
|
1596
1596
|
|
|
1597
1597
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html
|
|
1598
1598
|
:exampleMetadata: fixture=_generated
|
|
@@ -1631,6 +1631,8 @@ class CfnResourceConfiguration(
|
|
|
1631
1631
|
def ip_address_type(self) -> builtins.str:
|
|
1632
1632
|
'''The IP address type for the resource configuration.
|
|
1633
1633
|
|
|
1634
|
+
Dualstack is not currently supported.
|
|
1635
|
+
|
|
1634
1636
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html#cfn-vpclattice-resourceconfiguration-dnsresource-ipaddresstype
|
|
1635
1637
|
'''
|
|
1636
1638
|
result = self._values.get("ip_address_type")
|
aws_cdk/aws_wisdom/__init__.py
CHANGED
|
@@ -685,7 +685,7 @@ class CfnAIAgent(
|
|
|
685
685
|
:param answer_generation_ai_prompt_id: The AI Prompt identifier for the Answer Generation prompt used by the ``ANSWER_RECOMMENDATION`` AI Agent.
|
|
686
686
|
:param association_configurations: The association configurations for overriding behavior on this AI Agent.
|
|
687
687
|
:param intent_labeling_generation_ai_prompt_id: The AI Prompt identifier for the Intent Labeling prompt used by the ``ANSWER_RECOMMENDATION`` AI Agent.
|
|
688
|
-
:param locale:
|
|
688
|
+
:param locale: The locale to which specifies the language and region settings that determine the response language for `QueryAssistant <https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html>`_ .
|
|
689
689
|
:param query_reformulation_ai_prompt_id: The AI Prompt identifier for the Query Reformulation prompt used by the ``ANSWER_RECOMMENDATION`` AI Agent.
|
|
690
690
|
|
|
691
691
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html
|
|
@@ -807,7 +807,8 @@ class CfnAIAgent(
|
|
|
807
807
|
|
|
808
808
|
@builtins.property
|
|
809
809
|
def locale(self) -> typing.Optional[builtins.str]:
|
|
810
|
-
'''
|
|
810
|
+
'''The locale to which specifies the language and region settings that determine the response language for `QueryAssistant <https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html>`_ .
|
|
811
|
+
|
|
811
812
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html#cfn-wisdom-aiagent-answerrecommendationaiagentconfiguration-locale
|
|
812
813
|
'''
|
|
813
814
|
result = self._values.get("locale")
|
|
@@ -1189,7 +1190,7 @@ class CfnAIAgent(
|
|
|
1189
1190
|
:param answer_generation_ai_guardrail_id: The ID of the answer generation AI guardrail.
|
|
1190
1191
|
:param answer_generation_ai_prompt_id: The AI Prompt identifier for the Answer Generation prompt used by the ``ANSWER_RECOMMENDATION`` AI Agent.
|
|
1191
1192
|
:param association_configurations: The association configurations for overriding behavior on this AI Agent.
|
|
1192
|
-
:param locale:
|
|
1193
|
+
:param locale: The locale to which specifies the language and region settings that determine the response language for `QueryAssistant <https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html>`_ .
|
|
1193
1194
|
|
|
1194
1195
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-manualsearchaiagentconfiguration.html
|
|
1195
1196
|
:exampleMetadata: fixture=_generated
|
|
@@ -1291,7 +1292,8 @@ class CfnAIAgent(
|
|
|
1291
1292
|
|
|
1292
1293
|
@builtins.property
|
|
1293
1294
|
def locale(self) -> typing.Optional[builtins.str]:
|
|
1294
|
-
'''
|
|
1295
|
+
'''The locale to which specifies the language and region settings that determine the response language for `QueryAssistant <https://docs.aws.amazon.com/connect/latest/APIReference/API_amazon-q-connect_QueryAssistant.html>`_ .
|
|
1296
|
+
|
|
1295
1297
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-manualsearchaiagentconfiguration.html#cfn-wisdom-aiagent-manualsearchaiagentconfiguration-locale
|
|
1296
1298
|
'''
|
|
1297
1299
|
result = self._values.get("locale")
|
|
@@ -6564,6 +6564,12 @@ class Manifest(
|
|
|
6564
6564
|
):
|
|
6565
6565
|
'''Protocol utility class.'''
|
|
6566
6566
|
|
|
6567
|
+
@jsii.member(jsii_name="cliVersion")
|
|
6568
|
+
@builtins.classmethod
|
|
6569
|
+
def cli_version(cls) -> typing.Optional[builtins.str]:
|
|
6570
|
+
'''Return the CLI version that supports this Cloud Assembly Schema version.'''
|
|
6571
|
+
return typing.cast(typing.Optional[builtins.str], jsii.sinvoke(cls, "cliVersion", []))
|
|
6572
|
+
|
|
6567
6573
|
@jsii.member(jsii_name="loadAssemblyManifest")
|
|
6568
6574
|
@builtins.classmethod
|
|
6569
6575
|
def load_assembly_manifest(
|
|
@@ -6988,7 +6994,7 @@ class RequireApproval(enum.Enum):
|
|
|
6988
6994
|
NEVER = "NEVER"
|
|
6989
6995
|
'''Never ask for approval.'''
|
|
6990
6996
|
ANYCHANGE = "ANYCHANGE"
|
|
6991
|
-
'''Prompt for approval for any type
|
|
6997
|
+
'''Prompt for approval for any type of change to the stack.'''
|
|
6992
6998
|
BROADENING = "BROADENING"
|
|
6993
6999
|
'''Only prompt for approval if there are security related changes.'''
|
|
6994
7000
|
|
|
@@ -1170,6 +1170,12 @@ class AwsCustomResource(
|
|
|
1170
1170
|
check_type(argname="argument data_path", value=data_path, expected_type=type_hints["data_path"])
|
|
1171
1171
|
return typing.cast(_Reference_6ab8bd04, jsii.invoke(self, "getResponseFieldReference", [data_path]))
|
|
1172
1172
|
|
|
1173
|
+
@jsii.python.classproperty
|
|
1174
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
1175
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
1176
|
+
'''Uniquely identifies this class.'''
|
|
1177
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
1178
|
+
|
|
1173
1179
|
@jsii.python.classproperty
|
|
1174
1180
|
@jsii.member(jsii_name="PROVIDER_FUNCTION_UUID")
|
|
1175
1181
|
def PROVIDER_FUNCTION_UUID(cls) -> builtins.str:
|
|
@@ -2520,6 +2526,12 @@ class Provider(
|
|
|
2520
2526
|
|
|
2521
2527
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
2522
2528
|
|
|
2529
|
+
@jsii.python.classproperty
|
|
2530
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
2531
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
2532
|
+
'''Uniquely identifies this class.'''
|
|
2533
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
2534
|
+
|
|
2523
2535
|
@builtins.property
|
|
2524
2536
|
@jsii.member(jsii_name="onEventHandler")
|
|
2525
2537
|
def on_event_handler(self) -> _IFunction_6adb0ab8:
|
|
@@ -3062,6 +3074,12 @@ class WaiterStateMachine(
|
|
|
3062
3074
|
check_type(argname="argument identity", value=identity, expected_type=type_hints["identity"])
|
|
3063
3075
|
return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantStartExecution", [identity]))
|
|
3064
3076
|
|
|
3077
|
+
@jsii.python.classproperty
|
|
3078
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
3079
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
3080
|
+
'''Uniquely identifies this class.'''
|
|
3081
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
3082
|
+
|
|
3065
3083
|
@builtins.property
|
|
3066
3084
|
@jsii.member(jsii_name="stateMachineArn")
|
|
3067
3085
|
def state_machine_arn(self) -> builtins.str:
|