aws-cdk-lib 2.210.0__py3-none-any.whl → 2.212.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 +404 -54
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.210.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_appintegrations/__init__.py +395 -0
- aws_cdk/aws_arcregionswitch/__init__.py +5080 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +725 -55
- aws_cdk/aws_bedrock/__init__.py +18 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -3
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +39 -8
- aws_cdk/aws_codebuild/__init__.py +122 -0
- aws_cdk/aws_codepipeline/__init__.py +51 -50
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_connect/__init__.py +40 -15
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +166 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +246 -36
- aws_cdk/aws_ec2/__init__.py +1044 -111
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +1637 -137
- aws_cdk/aws_eks/__init__.py +53 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +31 -17
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- aws_cdk/aws_gameliftstreams/__init__.py +7 -6
- aws_cdk/aws_glue/__init__.py +18 -9
- aws_cdk/aws_guardduty/__init__.py +1233 -113
- aws_cdk/aws_imagebuilder/__init__.py +34 -20
- aws_cdk/aws_inspectorv2/__init__.py +1516 -0
- aws_cdk/aws_iot/__init__.py +387 -0
- aws_cdk/aws_iotsitewise/__init__.py +1247 -139
- aws_cdk/aws_ivs/__init__.py +443 -33
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -0
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +9 -9
- aws_cdk/aws_lightsail/__init__.py +590 -0
- aws_cdk/aws_logs/__init__.py +97 -3
- aws_cdk/aws_medialive/__init__.py +270 -7
- aws_cdk/aws_mediapackagev2/__init__.py +204 -6
- aws_cdk/aws_neptune/__init__.py +41 -2
- aws_cdk/aws_networkfirewall/__init__.py +490 -134
- aws_cdk/aws_observabilityadmin/__init__.py +1468 -0
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opensearchservice/__init__.py +128 -0
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +49 -5
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +188 -83
- aws_cdk/aws_rds/__init__.py +245 -103
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +56 -1
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +4080 -223
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_sqs/__init__.py +4 -3
- aws_cdk/aws_ssm/__init__.py +8 -4
- aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
- aws_cdk/aws_synthetics/__init__.py +116 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +23 -2
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/aws_workspacesweb/__init__.py +949 -157
- aws_cdk/cx_api/__init__.py +22 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +335 -15
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +78 -76
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/top_level.txt +0 -0
|
@@ -40,6 +40,8 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
40
40
|
* [Bedrock](#bedrock)
|
|
41
41
|
|
|
42
42
|
* [InvokeModel](#invokemodel)
|
|
43
|
+
* [Using Input Path for S3 URI](#using-input-path-for-s3-uri)
|
|
44
|
+
* [Using Input Path](#using-input-path)
|
|
43
45
|
* [createModelCustomizationJob](#createmodelcustomizationjob)
|
|
44
46
|
* [CodeBuild](#codebuild)
|
|
45
47
|
|
|
@@ -57,6 +59,7 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
57
59
|
|
|
58
60
|
* [EC2](#ec2)
|
|
59
61
|
* [Fargate](#fargate)
|
|
62
|
+
* [Override CPU and Memory Parameter](#override-cpu-and-memory-parameter)
|
|
60
63
|
* [ECS enable Exec](#ecs-enable-exec)
|
|
61
64
|
* [EMR](#emr)
|
|
62
65
|
|
|
@@ -78,6 +81,9 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
78
81
|
* [EventBridge](#eventbridge)
|
|
79
82
|
|
|
80
83
|
* [Put Events](#put-events)
|
|
84
|
+
* [EventBridge Scheduler](#eventbridge-scheduler)
|
|
85
|
+
|
|
86
|
+
* [Create Scheduler](#create-scheduler)
|
|
81
87
|
* [Glue](#glue)
|
|
82
88
|
|
|
83
89
|
* [StartJobRun](#startjobrun)
|
|
@@ -85,12 +91,13 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
85
91
|
* [Glue DataBrew](#glue-databrew)
|
|
86
92
|
|
|
87
93
|
* [Start Job Run](#start-job-run-1)
|
|
94
|
+
* [Invoke HTTP API](#invoke-http-api)
|
|
88
95
|
* [Lambda](#lambda)
|
|
89
96
|
|
|
90
97
|
* [Invoke](#invoke)
|
|
91
98
|
* [MediaConvert](#mediaconvert)
|
|
92
99
|
|
|
93
|
-
* [
|
|
100
|
+
* [CreateJob](#createjob)
|
|
94
101
|
* [SageMaker](#sagemaker)
|
|
95
102
|
|
|
96
103
|
* [Create Training Job](#create-training-job)
|
|
@@ -1316,13 +1323,13 @@ The following code snippet includes a Task state that uses eks:call to list the
|
|
|
1316
1323
|
|
|
1317
1324
|
```python
|
|
1318
1325
|
import aws_cdk.aws_eks as eks
|
|
1319
|
-
from aws_cdk.
|
|
1326
|
+
from aws_cdk.lambda_layer_kubectl_v33 import KubectlV33Layer
|
|
1320
1327
|
|
|
1321
1328
|
|
|
1322
1329
|
my_eks_cluster = eks.Cluster(self, "my sample cluster",
|
|
1323
1330
|
version=eks.KubernetesVersion.V1_32,
|
|
1324
1331
|
cluster_name="myEksCluster",
|
|
1325
|
-
kubectl_layer=
|
|
1332
|
+
kubectl_layer=KubectlV33Layer(self, "kubectl")
|
|
1326
1333
|
)
|
|
1327
1334
|
|
|
1328
1335
|
tasks.EksCall(self, "Call a EKS Endpoint",
|
|
@@ -32600,13 +32607,13 @@ class EksCall(
|
|
|
32600
32607
|
Example::
|
|
32601
32608
|
|
|
32602
32609
|
import aws_cdk.aws_eks as eks
|
|
32603
|
-
from aws_cdk.
|
|
32610
|
+
from aws_cdk.lambda_layer_kubectl_v33 import KubectlV33Layer
|
|
32604
32611
|
|
|
32605
32612
|
|
|
32606
32613
|
my_eks_cluster = eks.Cluster(self, "my sample cluster",
|
|
32607
32614
|
version=eks.KubernetesVersion.V1_32,
|
|
32608
32615
|
cluster_name="myEksCluster",
|
|
32609
|
-
kubectl_layer=
|
|
32616
|
+
kubectl_layer=KubectlV33Layer(self, "kubectl")
|
|
32610
32617
|
)
|
|
32611
32618
|
|
|
32612
32619
|
tasks.EksCall(self, "Call a EKS Endpoint",
|
|
@@ -33708,13 +33715,13 @@ class EksCallProps(_TaskStateBaseProps_3a62b6d0):
|
|
|
33708
33715
|
Example::
|
|
33709
33716
|
|
|
33710
33717
|
import aws_cdk.aws_eks as eks
|
|
33711
|
-
from aws_cdk.
|
|
33718
|
+
from aws_cdk.lambda_layer_kubectl_v33 import KubectlV33Layer
|
|
33712
33719
|
|
|
33713
33720
|
|
|
33714
33721
|
my_eks_cluster = eks.Cluster(self, "my sample cluster",
|
|
33715
33722
|
version=eks.KubernetesVersion.V1_32,
|
|
33716
33723
|
cluster_name="myEksCluster",
|
|
33717
|
-
kubectl_layer=
|
|
33724
|
+
kubectl_layer=KubectlV33Layer(self, "kubectl")
|
|
33718
33725
|
)
|
|
33719
33726
|
|
|
33720
33727
|
tasks.EksCall(self, "Call a EKS Endpoint",
|
|
@@ -62964,13 +62971,13 @@ class HttpMethods(enum.Enum):
|
|
|
62964
62971
|
Example::
|
|
62965
62972
|
|
|
62966
62973
|
import aws_cdk.aws_eks as eks
|
|
62967
|
-
from aws_cdk.
|
|
62974
|
+
from aws_cdk.lambda_layer_kubectl_v33 import KubectlV33Layer
|
|
62968
62975
|
|
|
62969
62976
|
|
|
62970
62977
|
my_eks_cluster = eks.Cluster(self, "my sample cluster",
|
|
62971
62978
|
version=eks.KubernetesVersion.V1_32,
|
|
62972
62979
|
cluster_name="myEksCluster",
|
|
62973
|
-
kubectl_layer=
|
|
62980
|
+
kubectl_layer=KubectlV33Layer(self, "kubectl")
|
|
62974
62981
|
)
|
|
62975
62982
|
|
|
62976
62983
|
tasks.EksCall(self, "Call a EKS Endpoint",
|
|
@@ -1474,6 +1474,12 @@ class CfnCanary(
|
|
|
1474
1474
|
handler="handler",
|
|
1475
1475
|
|
|
1476
1476
|
# the properties below are optional
|
|
1477
|
+
dependencies=[synthetics.CfnCanary.DependencyProperty(
|
|
1478
|
+
reference="reference",
|
|
1479
|
+
|
|
1480
|
+
# the properties below are optional
|
|
1481
|
+
type="type"
|
|
1482
|
+
)],
|
|
1477
1483
|
s3_bucket="s3Bucket",
|
|
1478
1484
|
s3_key="s3Key",
|
|
1479
1485
|
s3_object_version="s3ObjectVersion",
|
|
@@ -2120,6 +2126,7 @@ class CfnCanary(
|
|
|
2120
2126
|
jsii_struct_bases=[],
|
|
2121
2127
|
name_mapping={
|
|
2122
2128
|
"handler": "handler",
|
|
2129
|
+
"dependencies": "dependencies",
|
|
2123
2130
|
"s3_bucket": "s3Bucket",
|
|
2124
2131
|
"s3_key": "s3Key",
|
|
2125
2132
|
"s3_object_version": "s3ObjectVersion",
|
|
@@ -2132,6 +2139,7 @@ class CfnCanary(
|
|
|
2132
2139
|
self,
|
|
2133
2140
|
*,
|
|
2134
2141
|
handler: builtins.str,
|
|
2142
|
+
dependencies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.DependencyProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2135
2143
|
s3_bucket: typing.Optional[builtins.str] = None,
|
|
2136
2144
|
s3_key: typing.Optional[builtins.str] = None,
|
|
2137
2145
|
s3_object_version: typing.Optional[builtins.str] = None,
|
|
@@ -2143,6 +2151,7 @@ class CfnCanary(
|
|
|
2143
2151
|
This structure contains the Lambda handler with the location where the canary should start running the script. If the script is stored in an S3 bucket, the bucket name, key, and version are also included. If the script is passed into the canary directly, the script code is contained in the value of ``Script`` .
|
|
2144
2152
|
|
|
2145
2153
|
:param handler: The entry point to use for the source code when running the canary. For canaries that use the ``syn-python-selenium-1.0`` runtime or a ``syn-nodejs.puppeteer`` runtime earlier than ``syn-nodejs.puppeteer-3.4`` , the handler must be specified as ``*fileName* .handler`` . For ``syn-python-selenium-1.1`` , ``syn-nodejs.puppeteer-3.4`` , and later runtimes, the handler can be specified as ``*fileName* . *functionName*`` , or you can specify a folder where canary scripts reside as ``*folder* / *fileName* . *functionName*`` .
|
|
2154
|
+
:param dependencies: List of Lambda layers to attach to the canary.
|
|
2146
2155
|
:param s3_bucket: If your canary script is located in S3, specify the bucket name here. The bucket must already exist.
|
|
2147
2156
|
:param s3_key: The Amazon S3 key of your script. For more information, see `Working with Amazon S3 Objects <https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingObjects.html>`_ .
|
|
2148
2157
|
:param s3_object_version: The Amazon S3 version ID of your script.
|
|
@@ -2162,6 +2171,12 @@ class CfnCanary(
|
|
|
2162
2171
|
handler="handler",
|
|
2163
2172
|
|
|
2164
2173
|
# the properties below are optional
|
|
2174
|
+
dependencies=[synthetics.CfnCanary.DependencyProperty(
|
|
2175
|
+
reference="reference",
|
|
2176
|
+
|
|
2177
|
+
# the properties below are optional
|
|
2178
|
+
type="type"
|
|
2179
|
+
)],
|
|
2165
2180
|
s3_bucket="s3Bucket",
|
|
2166
2181
|
s3_key="s3Key",
|
|
2167
2182
|
s3_object_version="s3ObjectVersion",
|
|
@@ -2172,6 +2187,7 @@ class CfnCanary(
|
|
|
2172
2187
|
if __debug__:
|
|
2173
2188
|
type_hints = typing.get_type_hints(_typecheckingstub__3d403372a613babc1ab10717d050ec9a7f4055961f3545f2d0600d89c7b3dcc3)
|
|
2174
2189
|
check_type(argname="argument handler", value=handler, expected_type=type_hints["handler"])
|
|
2190
|
+
check_type(argname="argument dependencies", value=dependencies, expected_type=type_hints["dependencies"])
|
|
2175
2191
|
check_type(argname="argument s3_bucket", value=s3_bucket, expected_type=type_hints["s3_bucket"])
|
|
2176
2192
|
check_type(argname="argument s3_key", value=s3_key, expected_type=type_hints["s3_key"])
|
|
2177
2193
|
check_type(argname="argument s3_object_version", value=s3_object_version, expected_type=type_hints["s3_object_version"])
|
|
@@ -2180,6 +2196,8 @@ class CfnCanary(
|
|
|
2180
2196
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2181
2197
|
"handler": handler,
|
|
2182
2198
|
}
|
|
2199
|
+
if dependencies is not None:
|
|
2200
|
+
self._values["dependencies"] = dependencies
|
|
2183
2201
|
if s3_bucket is not None:
|
|
2184
2202
|
self._values["s3_bucket"] = s3_bucket
|
|
2185
2203
|
if s3_key is not None:
|
|
@@ -2203,6 +2221,17 @@ class CfnCanary(
|
|
|
2203
2221
|
assert result is not None, "Required property 'handler' is missing"
|
|
2204
2222
|
return typing.cast(builtins.str, result)
|
|
2205
2223
|
|
|
2224
|
+
@builtins.property
|
|
2225
|
+
def dependencies(
|
|
2226
|
+
self,
|
|
2227
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCanary.DependencyProperty"]]]]:
|
|
2228
|
+
'''List of Lambda layers to attach to the canary.
|
|
2229
|
+
|
|
2230
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-dependencies
|
|
2231
|
+
'''
|
|
2232
|
+
result = self._values.get("dependencies")
|
|
2233
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCanary.DependencyProperty"]]]], result)
|
|
2234
|
+
|
|
2206
2235
|
@builtins.property
|
|
2207
2236
|
def s3_bucket(self) -> typing.Optional[builtins.str]:
|
|
2208
2237
|
'''If your canary script is located in S3, specify the bucket name here.
|
|
@@ -2265,6 +2294,78 @@ class CfnCanary(
|
|
|
2265
2294
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2266
2295
|
)
|
|
2267
2296
|
|
|
2297
|
+
@jsii.data_type(
|
|
2298
|
+
jsii_type="aws-cdk-lib.aws_synthetics.CfnCanary.DependencyProperty",
|
|
2299
|
+
jsii_struct_bases=[],
|
|
2300
|
+
name_mapping={"reference": "reference", "type": "type"},
|
|
2301
|
+
)
|
|
2302
|
+
class DependencyProperty:
|
|
2303
|
+
def __init__(
|
|
2304
|
+
self,
|
|
2305
|
+
*,
|
|
2306
|
+
reference: builtins.str,
|
|
2307
|
+
type: typing.Optional[builtins.str] = None,
|
|
2308
|
+
) -> None:
|
|
2309
|
+
'''
|
|
2310
|
+
:param reference: ARN of the Lambda layer.
|
|
2311
|
+
:param type: Type of dependency.
|
|
2312
|
+
|
|
2313
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-dependency.html
|
|
2314
|
+
:exampleMetadata: fixture=_generated
|
|
2315
|
+
|
|
2316
|
+
Example::
|
|
2317
|
+
|
|
2318
|
+
# The code below shows an example of how to instantiate this type.
|
|
2319
|
+
# The values are placeholders you should change.
|
|
2320
|
+
from aws_cdk import aws_synthetics as synthetics
|
|
2321
|
+
|
|
2322
|
+
dependency_property = synthetics.CfnCanary.DependencyProperty(
|
|
2323
|
+
reference="reference",
|
|
2324
|
+
|
|
2325
|
+
# the properties below are optional
|
|
2326
|
+
type="type"
|
|
2327
|
+
)
|
|
2328
|
+
'''
|
|
2329
|
+
if __debug__:
|
|
2330
|
+
type_hints = typing.get_type_hints(_typecheckingstub__02338e317b0b84f714774aabea98599cd96fe9cff23790733ad426e75f9984f4)
|
|
2331
|
+
check_type(argname="argument reference", value=reference, expected_type=type_hints["reference"])
|
|
2332
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
2333
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2334
|
+
"reference": reference,
|
|
2335
|
+
}
|
|
2336
|
+
if type is not None:
|
|
2337
|
+
self._values["type"] = type
|
|
2338
|
+
|
|
2339
|
+
@builtins.property
|
|
2340
|
+
def reference(self) -> builtins.str:
|
|
2341
|
+
'''ARN of the Lambda layer.
|
|
2342
|
+
|
|
2343
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-dependency.html#cfn-synthetics-canary-dependency-reference
|
|
2344
|
+
'''
|
|
2345
|
+
result = self._values.get("reference")
|
|
2346
|
+
assert result is not None, "Required property 'reference' is missing"
|
|
2347
|
+
return typing.cast(builtins.str, result)
|
|
2348
|
+
|
|
2349
|
+
@builtins.property
|
|
2350
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
2351
|
+
'''Type of dependency.
|
|
2352
|
+
|
|
2353
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-dependency.html#cfn-synthetics-canary-dependency-type
|
|
2354
|
+
'''
|
|
2355
|
+
result = self._values.get("type")
|
|
2356
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2357
|
+
|
|
2358
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2359
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2360
|
+
|
|
2361
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2362
|
+
return not (rhs == self)
|
|
2363
|
+
|
|
2364
|
+
def __repr__(self) -> str:
|
|
2365
|
+
return "DependencyProperty(%s)" % ", ".join(
|
|
2366
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2367
|
+
)
|
|
2368
|
+
|
|
2268
2369
|
@jsii.data_type(
|
|
2269
2370
|
jsii_type="aws-cdk-lib.aws_synthetics.CfnCanary.RetryConfigProperty",
|
|
2270
2371
|
jsii_struct_bases=[],
|
|
@@ -2935,6 +3036,12 @@ class CfnCanaryProps:
|
|
|
2935
3036
|
handler="handler",
|
|
2936
3037
|
|
|
2937
3038
|
# the properties below are optional
|
|
3039
|
+
dependencies=[synthetics.CfnCanary.DependencyProperty(
|
|
3040
|
+
reference="reference",
|
|
3041
|
+
|
|
3042
|
+
# the properties below are optional
|
|
3043
|
+
type="type"
|
|
3044
|
+
)],
|
|
2938
3045
|
s3_bucket="s3Bucket",
|
|
2939
3046
|
s3_key="s3Key",
|
|
2940
3047
|
s3_object_version="s3ObjectVersion",
|
|
@@ -5173,6 +5280,7 @@ def _typecheckingstub__8d401a2416919aef18322e23fb875fc37ad8f90f34f8f5708a245f22f
|
|
|
5173
5280
|
def _typecheckingstub__3d403372a613babc1ab10717d050ec9a7f4055961f3545f2d0600d89c7b3dcc3(
|
|
5174
5281
|
*,
|
|
5175
5282
|
handler: builtins.str,
|
|
5283
|
+
dependencies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.DependencyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5176
5284
|
s3_bucket: typing.Optional[builtins.str] = None,
|
|
5177
5285
|
s3_key: typing.Optional[builtins.str] = None,
|
|
5178
5286
|
s3_object_version: typing.Optional[builtins.str] = None,
|
|
@@ -5182,6 +5290,14 @@ def _typecheckingstub__3d403372a613babc1ab10717d050ec9a7f4055961f3545f2d0600d89c
|
|
|
5182
5290
|
"""Type checking stubs"""
|
|
5183
5291
|
pass
|
|
5184
5292
|
|
|
5293
|
+
def _typecheckingstub__02338e317b0b84f714774aabea98599cd96fe9cff23790733ad426e75f9984f4(
|
|
5294
|
+
*,
|
|
5295
|
+
reference: builtins.str,
|
|
5296
|
+
type: typing.Optional[builtins.str] = None,
|
|
5297
|
+
) -> None:
|
|
5298
|
+
"""Type checking stubs"""
|
|
5299
|
+
pass
|
|
5300
|
+
|
|
5185
5301
|
def _typecheckingstub__e7a2c989ca2c701e49af0e8032c8c49bb52546c68c9e6359df8e7a9f2c4cf9a1(
|
|
5186
5302
|
*,
|
|
5187
5303
|
max_retries: jsii.Number,
|
|
@@ -1929,6 +1929,7 @@ class CfnPolicyStore(
|
|
|
1929
1929
|
),
|
|
1930
1930
|
description="description",
|
|
1931
1931
|
schema=verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty(
|
|
1932
|
+
cedar_format="cedarFormat",
|
|
1932
1933
|
cedar_json="cedarJson"
|
|
1933
1934
|
),
|
|
1934
1935
|
tags=[CfnTag(
|
|
@@ -2173,14 +2174,20 @@ class CfnPolicyStore(
|
|
|
2173
2174
|
@jsii.data_type(
|
|
2174
2175
|
jsii_type="aws-cdk-lib.aws_verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty",
|
|
2175
2176
|
jsii_struct_bases=[],
|
|
2176
|
-
name_mapping={"cedar_json": "cedarJson"},
|
|
2177
|
+
name_mapping={"cedar_format": "cedarFormat", "cedar_json": "cedarJson"},
|
|
2177
2178
|
)
|
|
2178
2179
|
class SchemaDefinitionProperty:
|
|
2179
|
-
def __init__(
|
|
2180
|
+
def __init__(
|
|
2181
|
+
self,
|
|
2182
|
+
*,
|
|
2183
|
+
cedar_format: typing.Optional[builtins.str] = None,
|
|
2184
|
+
cedar_json: typing.Optional[builtins.str] = None,
|
|
2185
|
+
) -> None:
|
|
2180
2186
|
'''Contains a list of principal types, resource types, and actions that can be specified in policies stored in the same policy store.
|
|
2181
2187
|
|
|
2182
2188
|
If the validation mode for the policy store is set to ``STRICT`` , then policies that can't be validated by this schema are rejected by Verified Permissions and can't be stored in the policy store.
|
|
2183
2189
|
|
|
2190
|
+
:param cedar_format:
|
|
2184
2191
|
:param cedar_json: A JSON string representation of the schema supported by applications that use this policy store. For more information, see `Policy store schema <https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html>`_ in the AVP User Guide.
|
|
2185
2192
|
|
|
2186
2193
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-schemadefinition.html
|
|
@@ -2193,16 +2200,28 @@ class CfnPolicyStore(
|
|
|
2193
2200
|
from aws_cdk import aws_verifiedpermissions as verifiedpermissions
|
|
2194
2201
|
|
|
2195
2202
|
schema_definition_property = verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty(
|
|
2203
|
+
cedar_format="cedarFormat",
|
|
2196
2204
|
cedar_json="cedarJson"
|
|
2197
2205
|
)
|
|
2198
2206
|
'''
|
|
2199
2207
|
if __debug__:
|
|
2200
2208
|
type_hints = typing.get_type_hints(_typecheckingstub__40c95b318ee977eff43d9078495fc0215bd302506cf821187fe6998b1a04ee9f)
|
|
2209
|
+
check_type(argname="argument cedar_format", value=cedar_format, expected_type=type_hints["cedar_format"])
|
|
2201
2210
|
check_type(argname="argument cedar_json", value=cedar_json, expected_type=type_hints["cedar_json"])
|
|
2202
2211
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2212
|
+
if cedar_format is not None:
|
|
2213
|
+
self._values["cedar_format"] = cedar_format
|
|
2203
2214
|
if cedar_json is not None:
|
|
2204
2215
|
self._values["cedar_json"] = cedar_json
|
|
2205
2216
|
|
|
2217
|
+
@builtins.property
|
|
2218
|
+
def cedar_format(self) -> typing.Optional[builtins.str]:
|
|
2219
|
+
'''
|
|
2220
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policystore-schemadefinition.html#cfn-verifiedpermissions-policystore-schemadefinition-cedarformat
|
|
2221
|
+
'''
|
|
2222
|
+
result = self._values.get("cedar_format")
|
|
2223
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2224
|
+
|
|
2206
2225
|
@builtins.property
|
|
2207
2226
|
def cedar_json(self) -> typing.Optional[builtins.str]:
|
|
2208
2227
|
'''A JSON string representation of the schema supported by applications that use this policy store.
|
|
@@ -2338,6 +2357,7 @@ class CfnPolicyStoreProps:
|
|
|
2338
2357
|
),
|
|
2339
2358
|
description="description",
|
|
2340
2359
|
schema=verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty(
|
|
2360
|
+
cedar_format="cedarFormat",
|
|
2341
2361
|
cedar_json="cedarJson"
|
|
2342
2362
|
),
|
|
2343
2363
|
tags=[CfnTag(
|
|
@@ -2950,6 +2970,7 @@ def _typecheckingstub__c70b9477a0dc9dad5a293d5f268b74672d7816a3722f79105d3236fca
|
|
|
2950
2970
|
|
|
2951
2971
|
def _typecheckingstub__40c95b318ee977eff43d9078495fc0215bd302506cf821187fe6998b1a04ee9f(
|
|
2952
2972
|
*,
|
|
2973
|
+
cedar_format: typing.Optional[builtins.str] = None,
|
|
2953
2974
|
cedar_json: typing.Optional[builtins.str] = None,
|
|
2954
2975
|
) -> None:
|
|
2955
2976
|
"""Type checking stubs"""
|
aws_cdk/aws_wisdom/__init__.py
CHANGED
|
@@ -9629,7 +9629,7 @@ class CfnMessageTemplate(
|
|
|
9629
9629
|
'''Information about the message template attachment.
|
|
9630
9630
|
|
|
9631
9631
|
:param attachment_name: The name of the attachment file being uploaded. The name should include the file extension.
|
|
9632
|
-
:param s3_presigned_url: The S3 Presigned URL for the attachment file. When generating the PreSignedUrl, please ensure that the expires-in time is set to 30 minutes. The URL can be generated through the AWS Console or through the AWS CLI
|
|
9632
|
+
:param s3_presigned_url: The S3 Presigned URL for the attachment file. When generating the PreSignedUrl, please ensure that the expires-in time is set to 30 minutes. The URL can be generated through the AWS Console or through the AWS CLI. For more information, see `Sharing objects with presigned URLs <https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html>`_ .
|
|
9633
9633
|
:param attachment_id: The identifier of the attachment file.
|
|
9634
9634
|
|
|
9635
9635
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html
|
|
@@ -9677,7 +9677,7 @@ class CfnMessageTemplate(
|
|
|
9677
9677
|
def s3_presigned_url(self) -> builtins.str:
|
|
9678
9678
|
'''The S3 Presigned URL for the attachment file.
|
|
9679
9679
|
|
|
9680
|
-
When generating the PreSignedUrl, please ensure that the expires-in time is set to 30 minutes. The URL can be generated through the AWS Console or through the AWS CLI
|
|
9680
|
+
When generating the PreSignedUrl, please ensure that the expires-in time is set to 30 minutes. The URL can be generated through the AWS Console or through the AWS CLI. For more information, see `Sharing objects with presigned URLs <https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html>`_ .
|
|
9681
9681
|
|
|
9682
9682
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-messagetemplate-messagetemplateattachment.html#cfn-wisdom-messagetemplate-messagetemplateattachment-s3presignedurl
|
|
9683
9683
|
'''
|