aws-cdk-lib 2.95.0__py3-none-any.whl → 2.96.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 +38 -5
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.95.0.jsii.tgz → aws-cdk-lib@2.96.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +4 -4
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +15057 -385
- aws_cdk/aws_budgets/__init__.py +9 -4
- aws_cdk/aws_cloudformation/__init__.py +38 -5
- aws_cdk/aws_cloudtrail/__init__.py +25 -3
- aws_cdk/aws_codepipeline/__init__.py +2 -2
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -3
- aws_cdk/aws_config/__init__.py +54 -13
- aws_cdk/aws_datasync/__init__.py +104 -45
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +2 -2
- aws_cdk/aws_ec2/__init__.py +12 -7
- aws_cdk/aws_ecs/__init__.py +55 -19
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -2
- aws_cdk/aws_events_targets/__init__.py +3 -3
- aws_cdk/aws_iam/__init__.py +8 -6
- aws_cdk/aws_internetmonitor/__init__.py +69 -30
- aws_cdk/aws_iotwireless/__init__.py +2 -4
- aws_cdk/aws_lambda/__init__.py +8 -8
- aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
- aws_cdk/aws_managedblockchain/__init__.py +2 -3
- aws_cdk/aws_quicksight/__init__.py +185 -103
- aws_cdk/aws_rds/__init__.py +7 -7
- aws_cdk/aws_rolesanywhere/__init__.py +58 -74
- aws_cdk/aws_s3/__init__.py +1 -1
- aws_cdk/aws_securityhub/__init__.py +108 -42
- aws_cdk/aws_sns/__init__.py +5 -5
- aws_cdk/aws_stepfunctions/__init__.py +36 -25
- aws_cdk/aws_stepfunctions_tasks/__init__.py +13 -12
- aws_cdk/aws_transfer/__init__.py +9 -2
- aws_cdk/aws_wafv2/__init__.py +6 -6
- aws_cdk/pipelines/__init__.py +1 -1
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/RECORD +42 -42
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -519,7 +519,7 @@ cloudwatch.Alarm(self, "HighCPU",
|
|
|
519
519
|
fn = lambda_.Function(self, "Function",
|
|
520
520
|
code=lambda_.Code.from_inline("exports.handler = (event) => console.log(event);"),
|
|
521
521
|
handler="index.handler",
|
|
522
|
-
runtime=lambda_.Runtime.
|
|
522
|
+
runtime=lambda_.Runtime.NODEJS_18_X
|
|
523
523
|
)
|
|
524
524
|
|
|
525
525
|
availability_rule = instance.on_event("Availability", target=targets.LambdaFunction(fn))
|
|
@@ -597,7 +597,7 @@ cloudwatch.Alarm(self, "HighCPU",
|
|
|
597
597
|
fn = lambda_.Function(self, "Function",
|
|
598
598
|
code=lambda_.Code.from_inline("exports.handler = (event) => console.log(event);"),
|
|
599
599
|
handler="index.handler",
|
|
600
|
-
runtime=lambda_.Runtime.
|
|
600
|
+
runtime=lambda_.Runtime.NODEJS_18_X
|
|
601
601
|
)
|
|
602
602
|
|
|
603
603
|
availability_rule = instance.on_event("Availability", target=targets.LambdaFunction(fn))
|
|
@@ -26518,7 +26518,7 @@ class LicenseModel(enum.Enum):
|
|
|
26518
26518
|
fn = lambda_.Function(self, "Function",
|
|
26519
26519
|
code=lambda_.Code.from_inline("exports.handler = (event) => console.log(event);"),
|
|
26520
26520
|
handler="index.handler",
|
|
26521
|
-
runtime=lambda_.Runtime.
|
|
26521
|
+
runtime=lambda_.Runtime.NODEJS_18_X
|
|
26522
26522
|
)
|
|
26523
26523
|
|
|
26524
26524
|
availability_rule = instance.on_event("Availability", target=targets.LambdaFunction(fn))
|
|
@@ -27668,7 +27668,7 @@ class OptionGroup(
|
|
|
27668
27668
|
fn = lambda_.Function(self, "Function",
|
|
27669
27669
|
code=lambda_.Code.from_inline("exports.handler = (event) => console.log(event);"),
|
|
27670
27670
|
handler="index.handler",
|
|
27671
|
-
runtime=lambda_.Runtime.
|
|
27671
|
+
runtime=lambda_.Runtime.NODEJS_18_X
|
|
27672
27672
|
)
|
|
27673
27673
|
|
|
27674
27674
|
availability_rule = instance.on_event("Availability", target=targets.LambdaFunction(fn))
|
|
@@ -27863,7 +27863,7 @@ class OptionGroupProps:
|
|
|
27863
27863
|
fn = lambda_.Function(self, "Function",
|
|
27864
27864
|
code=lambda_.Code.from_inline("exports.handler = (event) => console.log(event);"),
|
|
27865
27865
|
handler="index.handler",
|
|
27866
|
-
runtime=lambda_.Runtime.
|
|
27866
|
+
runtime=lambda_.Runtime.NODEJS_18_X
|
|
27867
27867
|
)
|
|
27868
27868
|
|
|
27869
27869
|
availability_rule = instance.on_event("Availability", target=targets.LambdaFunction(fn))
|
|
@@ -29051,7 +29051,7 @@ class ParameterGroupProps:
|
|
|
29051
29051
|
fn = lambda_.Function(self, "Function",
|
|
29052
29052
|
code=lambda_.Code.from_inline("exports.handler = (event) => console.log(event);"),
|
|
29053
29053
|
handler="index.handler",
|
|
29054
|
-
runtime=lambda_.Runtime.
|
|
29054
|
+
runtime=lambda_.Runtime.NODEJS_18_X
|
|
29055
29055
|
)
|
|
29056
29056
|
|
|
29057
29057
|
availability_rule = instance.on_event("Availability", target=targets.LambdaFunction(fn))
|
|
@@ -33745,7 +33745,7 @@ class StorageType(enum.Enum):
|
|
|
33745
33745
|
fn = lambda_.Function(self, "Function",
|
|
33746
33746
|
code=lambda_.Code.from_inline("exports.handler = (event) => console.log(event);"),
|
|
33747
33747
|
handler="index.handler",
|
|
33748
|
-
runtime=lambda_.Runtime.
|
|
33748
|
+
runtime=lambda_.Runtime.NODEJS_18_X
|
|
33749
33749
|
)
|
|
33750
33750
|
|
|
33751
33751
|
availability_rule = instance.on_event("Availability", target=targets.LambdaFunction(fn))
|
|
@@ -57,11 +57,7 @@ class CfnCRL(
|
|
|
57
57
|
metaclass=jsii.JSIIMeta,
|
|
58
58
|
jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnCRL",
|
|
59
59
|
):
|
|
60
|
-
'''
|
|
61
|
-
|
|
62
|
-
A CRL is a list of certificates that have been revoked by the issuing certificate Authority (CA).In order to be properly imported, a CRL must be in PEM format. IAM Roles Anywhere validates against the CRL before issuing credentials.
|
|
63
|
-
|
|
64
|
-
*Required permissions:* ``rolesanywhere:ImportCrl`` .
|
|
60
|
+
'''Creates a Crl.
|
|
65
61
|
|
|
66
62
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html
|
|
67
63
|
:exampleMetadata: fixture=_generated
|
|
@@ -100,10 +96,10 @@ class CfnCRL(
|
|
|
100
96
|
'''
|
|
101
97
|
:param scope: Scope in which this resource is defined.
|
|
102
98
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
103
|
-
:param crl_data:
|
|
104
|
-
:param name: The name of the
|
|
105
|
-
:param enabled:
|
|
106
|
-
:param tags: A list of
|
|
99
|
+
:param crl_data: x509 v3 Certificate Revocation List to revoke auth for corresponding certificates presented in CreateSession operations.
|
|
100
|
+
:param name: The customer specified name of the resource.
|
|
101
|
+
:param enabled: The enabled status of the resource.
|
|
102
|
+
:param tags: A list of Tags.
|
|
107
103
|
:param trust_anchor_arn: The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
|
|
108
104
|
'''
|
|
109
105
|
if __debug__:
|
|
@@ -173,7 +169,7 @@ class CfnCRL(
|
|
|
173
169
|
@builtins.property
|
|
174
170
|
@jsii.member(jsii_name="crlData")
|
|
175
171
|
def crl_data(self) -> builtins.str:
|
|
176
|
-
'''
|
|
172
|
+
'''x509 v3 Certificate Revocation List to revoke auth for corresponding certificates presented in CreateSession operations.'''
|
|
177
173
|
return typing.cast(builtins.str, jsii.get(self, "crlData"))
|
|
178
174
|
|
|
179
175
|
@crl_data.setter
|
|
@@ -186,7 +182,7 @@ class CfnCRL(
|
|
|
186
182
|
@builtins.property
|
|
187
183
|
@jsii.member(jsii_name="name")
|
|
188
184
|
def name(self) -> builtins.str:
|
|
189
|
-
'''The name of the
|
|
185
|
+
'''The customer specified name of the resource.'''
|
|
190
186
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
191
187
|
|
|
192
188
|
@name.setter
|
|
@@ -201,7 +197,7 @@ class CfnCRL(
|
|
|
201
197
|
def enabled(
|
|
202
198
|
self,
|
|
203
199
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
204
|
-
'''
|
|
200
|
+
'''The enabled status of the resource.'''
|
|
205
201
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enabled"))
|
|
206
202
|
|
|
207
203
|
@enabled.setter
|
|
@@ -217,7 +213,7 @@ class CfnCRL(
|
|
|
217
213
|
@builtins.property
|
|
218
214
|
@jsii.member(jsii_name="tagsRaw")
|
|
219
215
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
220
|
-
'''A list of
|
|
216
|
+
'''A list of Tags.'''
|
|
221
217
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tagsRaw"))
|
|
222
218
|
|
|
223
219
|
@tags_raw.setter
|
|
@@ -264,10 +260,10 @@ class CfnCRLProps:
|
|
|
264
260
|
) -> None:
|
|
265
261
|
'''Properties for defining a ``CfnCRL``.
|
|
266
262
|
|
|
267
|
-
:param crl_data:
|
|
268
|
-
:param name: The name of the
|
|
269
|
-
:param enabled:
|
|
270
|
-
:param tags: A list of
|
|
263
|
+
:param crl_data: x509 v3 Certificate Revocation List to revoke auth for corresponding certificates presented in CreateSession operations.
|
|
264
|
+
:param name: The customer specified name of the resource.
|
|
265
|
+
:param enabled: The enabled status of the resource.
|
|
266
|
+
:param tags: A list of Tags.
|
|
271
267
|
:param trust_anchor_arn: The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
|
|
272
268
|
|
|
273
269
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html
|
|
@@ -312,7 +308,7 @@ class CfnCRLProps:
|
|
|
312
308
|
|
|
313
309
|
@builtins.property
|
|
314
310
|
def crl_data(self) -> builtins.str:
|
|
315
|
-
'''
|
|
311
|
+
'''x509 v3 Certificate Revocation List to revoke auth for corresponding certificates presented in CreateSession operations.
|
|
316
312
|
|
|
317
313
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-crldata
|
|
318
314
|
'''
|
|
@@ -322,7 +318,7 @@ class CfnCRLProps:
|
|
|
322
318
|
|
|
323
319
|
@builtins.property
|
|
324
320
|
def name(self) -> builtins.str:
|
|
325
|
-
'''The name of the
|
|
321
|
+
'''The customer specified name of the resource.
|
|
326
322
|
|
|
327
323
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-name
|
|
328
324
|
'''
|
|
@@ -334,7 +330,7 @@ class CfnCRLProps:
|
|
|
334
330
|
def enabled(
|
|
335
331
|
self,
|
|
336
332
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
337
|
-
'''
|
|
333
|
+
'''The enabled status of the resource.
|
|
338
334
|
|
|
339
335
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-enabled
|
|
340
336
|
'''
|
|
@@ -343,7 +339,7 @@ class CfnCRLProps:
|
|
|
343
339
|
|
|
344
340
|
@builtins.property
|
|
345
341
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
346
|
-
'''A list of
|
|
342
|
+
'''A list of Tags.
|
|
347
343
|
|
|
348
344
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-tags
|
|
349
345
|
'''
|
|
@@ -377,11 +373,7 @@ class CfnProfile(
|
|
|
377
373
|
metaclass=jsii.JSIIMeta,
|
|
378
374
|
jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnProfile",
|
|
379
375
|
):
|
|
380
|
-
'''Creates a
|
|
381
|
-
|
|
382
|
-
You use profiles to intersect permissions with IAM managed policies.
|
|
383
|
-
|
|
384
|
-
*Required permissions:* ``rolesanywhere:CreateProfile`` .
|
|
376
|
+
'''Creates a Profile.
|
|
385
377
|
|
|
386
378
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html
|
|
387
379
|
:exampleMetadata: fixture=_generated
|
|
@@ -426,14 +418,14 @@ class CfnProfile(
|
|
|
426
418
|
'''
|
|
427
419
|
:param scope: Scope in which this resource is defined.
|
|
428
420
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
429
|
-
:param name: The name of the
|
|
430
|
-
:param role_arns: A list of IAM role ARNs
|
|
431
|
-
:param duration_seconds:
|
|
432
|
-
:param enabled:
|
|
433
|
-
:param managed_policy_arns: A list of managed policy ARNs
|
|
434
|
-
:param require_instance_properties: Specifies whether instance properties are required in
|
|
435
|
-
:param session_policy: A session policy that
|
|
436
|
-
:param tags:
|
|
421
|
+
:param name: The customer specified name of the resource.
|
|
422
|
+
:param role_arns: A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
|
|
423
|
+
:param duration_seconds: The number of seconds vended session credentials will be valid for.
|
|
424
|
+
:param enabled: The enabled status of the resource.
|
|
425
|
+
:param managed_policy_arns: A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
|
|
426
|
+
:param require_instance_properties: Specifies whether instance properties are required in CreateSession requests with this profile.
|
|
427
|
+
:param session_policy: A session policy that will applied to the trust boundary of the vended session credentials.
|
|
428
|
+
:param tags: A list of Tags.
|
|
437
429
|
'''
|
|
438
430
|
if __debug__:
|
|
439
431
|
type_hints = typing.get_type_hints(_typecheckingstub__15739ec913066dea67815f6297a7c4e3ed351b4df22323a7b46fa138af1a7af8)
|
|
@@ -514,7 +506,7 @@ class CfnProfile(
|
|
|
514
506
|
@builtins.property
|
|
515
507
|
@jsii.member(jsii_name="name")
|
|
516
508
|
def name(self) -> builtins.str:
|
|
517
|
-
'''The name of the
|
|
509
|
+
'''The customer specified name of the resource.'''
|
|
518
510
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
519
511
|
|
|
520
512
|
@name.setter
|
|
@@ -527,7 +519,7 @@ class CfnProfile(
|
|
|
527
519
|
@builtins.property
|
|
528
520
|
@jsii.member(jsii_name="roleArns")
|
|
529
521
|
def role_arns(self) -> typing.List[builtins.str]:
|
|
530
|
-
'''A list of IAM role ARNs.'''
|
|
522
|
+
'''A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.'''
|
|
531
523
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "roleArns"))
|
|
532
524
|
|
|
533
525
|
@role_arns.setter
|
|
@@ -540,7 +532,7 @@ class CfnProfile(
|
|
|
540
532
|
@builtins.property
|
|
541
533
|
@jsii.member(jsii_name="durationSeconds")
|
|
542
534
|
def duration_seconds(self) -> typing.Optional[jsii.Number]:
|
|
543
|
-
'''
|
|
535
|
+
'''The number of seconds vended session credentials will be valid for.'''
|
|
544
536
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "durationSeconds"))
|
|
545
537
|
|
|
546
538
|
@duration_seconds.setter
|
|
@@ -555,7 +547,7 @@ class CfnProfile(
|
|
|
555
547
|
def enabled(
|
|
556
548
|
self,
|
|
557
549
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
558
|
-
'''
|
|
550
|
+
'''The enabled status of the resource.'''
|
|
559
551
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enabled"))
|
|
560
552
|
|
|
561
553
|
@enabled.setter
|
|
@@ -571,7 +563,7 @@ class CfnProfile(
|
|
|
571
563
|
@builtins.property
|
|
572
564
|
@jsii.member(jsii_name="managedPolicyArns")
|
|
573
565
|
def managed_policy_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
574
|
-
'''A list of managed policy ARNs
|
|
566
|
+
'''A list of managed policy ARNs.'''
|
|
575
567
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "managedPolicyArns"))
|
|
576
568
|
|
|
577
569
|
@managed_policy_arns.setter
|
|
@@ -589,7 +581,7 @@ class CfnProfile(
|
|
|
589
581
|
def require_instance_properties(
|
|
590
582
|
self,
|
|
591
583
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
592
|
-
'''Specifies whether instance properties are required in
|
|
584
|
+
'''Specifies whether instance properties are required in CreateSession requests with this profile.'''
|
|
593
585
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "requireInstanceProperties"))
|
|
594
586
|
|
|
595
587
|
@require_instance_properties.setter
|
|
@@ -605,7 +597,7 @@ class CfnProfile(
|
|
|
605
597
|
@builtins.property
|
|
606
598
|
@jsii.member(jsii_name="sessionPolicy")
|
|
607
599
|
def session_policy(self) -> typing.Optional[builtins.str]:
|
|
608
|
-
'''A session policy that
|
|
600
|
+
'''A session policy that will applied to the trust boundary of the vended session credentials.'''
|
|
609
601
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sessionPolicy"))
|
|
610
602
|
|
|
611
603
|
@session_policy.setter
|
|
@@ -618,7 +610,7 @@ class CfnProfile(
|
|
|
618
610
|
@builtins.property
|
|
619
611
|
@jsii.member(jsii_name="tagsRaw")
|
|
620
612
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
621
|
-
'''
|
|
613
|
+
'''A list of Tags.'''
|
|
622
614
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tagsRaw"))
|
|
623
615
|
|
|
624
616
|
@tags_raw.setter
|
|
@@ -658,14 +650,14 @@ class CfnProfileProps:
|
|
|
658
650
|
) -> None:
|
|
659
651
|
'''Properties for defining a ``CfnProfile``.
|
|
660
652
|
|
|
661
|
-
:param name: The name of the
|
|
662
|
-
:param role_arns: A list of IAM role ARNs
|
|
663
|
-
:param duration_seconds:
|
|
664
|
-
:param enabled:
|
|
665
|
-
:param managed_policy_arns: A list of managed policy ARNs
|
|
666
|
-
:param require_instance_properties: Specifies whether instance properties are required in
|
|
667
|
-
:param session_policy: A session policy that
|
|
668
|
-
:param tags:
|
|
653
|
+
:param name: The customer specified name of the resource.
|
|
654
|
+
:param role_arns: A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
|
|
655
|
+
:param duration_seconds: The number of seconds vended session credentials will be valid for.
|
|
656
|
+
:param enabled: The enabled status of the resource.
|
|
657
|
+
:param managed_policy_arns: A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
|
|
658
|
+
:param require_instance_properties: Specifies whether instance properties are required in CreateSession requests with this profile.
|
|
659
|
+
:param session_policy: A session policy that will applied to the trust boundary of the vended session credentials.
|
|
660
|
+
:param tags: A list of Tags.
|
|
669
661
|
|
|
670
662
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html
|
|
671
663
|
:exampleMetadata: fixture=_generated
|
|
@@ -721,7 +713,7 @@ class CfnProfileProps:
|
|
|
721
713
|
|
|
722
714
|
@builtins.property
|
|
723
715
|
def name(self) -> builtins.str:
|
|
724
|
-
'''The name of the
|
|
716
|
+
'''The customer specified name of the resource.
|
|
725
717
|
|
|
726
718
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-name
|
|
727
719
|
'''
|
|
@@ -731,9 +723,7 @@ class CfnProfileProps:
|
|
|
731
723
|
|
|
732
724
|
@builtins.property
|
|
733
725
|
def role_arns(self) -> typing.List[builtins.str]:
|
|
734
|
-
'''A list of IAM role ARNs.
|
|
735
|
-
|
|
736
|
-
During ``CreateSession`` , if a matching role ARN is provided, the properties in this profile will be applied to the intersection session policy.
|
|
726
|
+
'''A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
|
|
737
727
|
|
|
738
728
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-rolearns
|
|
739
729
|
'''
|
|
@@ -743,7 +733,7 @@ class CfnProfileProps:
|
|
|
743
733
|
|
|
744
734
|
@builtins.property
|
|
745
735
|
def duration_seconds(self) -> typing.Optional[jsii.Number]:
|
|
746
|
-
'''
|
|
736
|
+
'''The number of seconds vended session credentials will be valid for.
|
|
747
737
|
|
|
748
738
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-durationseconds
|
|
749
739
|
'''
|
|
@@ -754,7 +744,7 @@ class CfnProfileProps:
|
|
|
754
744
|
def enabled(
|
|
755
745
|
self,
|
|
756
746
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
757
|
-
'''
|
|
747
|
+
'''The enabled status of the resource.
|
|
758
748
|
|
|
759
749
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-enabled
|
|
760
750
|
'''
|
|
@@ -763,7 +753,9 @@ class CfnProfileProps:
|
|
|
763
753
|
|
|
764
754
|
@builtins.property
|
|
765
755
|
def managed_policy_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
766
|
-
'''A list of managed policy ARNs
|
|
756
|
+
'''A list of managed policy ARNs.
|
|
757
|
+
|
|
758
|
+
Managed policies identified by this list will be applied to the vended session credentials.
|
|
767
759
|
|
|
768
760
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-managedpolicyarns
|
|
769
761
|
'''
|
|
@@ -774,7 +766,7 @@ class CfnProfileProps:
|
|
|
774
766
|
def require_instance_properties(
|
|
775
767
|
self,
|
|
776
768
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
777
|
-
'''Specifies whether instance properties are required in
|
|
769
|
+
'''Specifies whether instance properties are required in CreateSession requests with this profile.
|
|
778
770
|
|
|
779
771
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-requireinstanceproperties
|
|
780
772
|
'''
|
|
@@ -783,7 +775,7 @@ class CfnProfileProps:
|
|
|
783
775
|
|
|
784
776
|
@builtins.property
|
|
785
777
|
def session_policy(self) -> typing.Optional[builtins.str]:
|
|
786
|
-
'''A session policy that
|
|
778
|
+
'''A session policy that will applied to the trust boundary of the vended session credentials.
|
|
787
779
|
|
|
788
780
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-sessionpolicy
|
|
789
781
|
'''
|
|
@@ -792,7 +784,7 @@ class CfnProfileProps:
|
|
|
792
784
|
|
|
793
785
|
@builtins.property
|
|
794
786
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
795
|
-
'''
|
|
787
|
+
'''A list of Tags.
|
|
796
788
|
|
|
797
789
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-tags
|
|
798
790
|
'''
|
|
@@ -817,11 +809,7 @@ class CfnTrustAnchor(
|
|
|
817
809
|
metaclass=jsii.JSIIMeta,
|
|
818
810
|
jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnTrustAnchor",
|
|
819
811
|
):
|
|
820
|
-
'''Creates a
|
|
821
|
-
|
|
822
|
-
You can define a trust anchor as a reference to an AWS Private Certificate Authority ( AWS Private CA ) or by uploading a CA certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary AWS credentials.
|
|
823
|
-
|
|
824
|
-
*Required permissions:* ``rolesanywhere:CreateTrustAnchor`` .
|
|
812
|
+
'''Creates a TrustAnchor.
|
|
825
813
|
|
|
826
814
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html
|
|
827
815
|
:exampleMetadata: fixture=_generated
|
|
@@ -1149,7 +1137,7 @@ class CfnTrustAnchor(
|
|
|
1149
1137
|
acm_pca_arn: typing.Optional[builtins.str] = None,
|
|
1150
1138
|
x509_certificate_data: typing.Optional[builtins.str] = None,
|
|
1151
1139
|
) -> None:
|
|
1152
|
-
'''
|
|
1140
|
+
'''A union object representing the data field of the TrustAnchor depending on its type.
|
|
1153
1141
|
|
|
1154
1142
|
:param acm_pca_arn: The root certificate of the AWS Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests. Included for trust anchors of type ``AWS_ACM_PCA`` . .. epigraph:: This field is not supported in your region.
|
|
1155
1143
|
:param x509_certificate_data: The PEM-encoded data for the certificate anchor. Included for trust anchors of type ``CERTIFICATE_BUNDLE`` .
|
|
@@ -1226,10 +1214,10 @@ class CfnTrustAnchor(
|
|
|
1226
1214
|
source_data: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTrustAnchor.SourceDataProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1227
1215
|
source_type: typing.Optional[builtins.str] = None,
|
|
1228
1216
|
) -> None:
|
|
1229
|
-
'''
|
|
1217
|
+
'''Object representing the TrustAnchor type and its related certificate data.
|
|
1230
1218
|
|
|
1231
|
-
:param source_data:
|
|
1232
|
-
:param source_type: The type of the TrustAnchor.
|
|
1219
|
+
:param source_data: A union object representing the data field of the TrustAnchor depending on its type.
|
|
1220
|
+
:param source_type: The type of the TrustAnchor.
|
|
1233
1221
|
|
|
1234
1222
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html
|
|
1235
1223
|
:exampleMetadata: fixture=_generated
|
|
@@ -1262,7 +1250,7 @@ class CfnTrustAnchor(
|
|
|
1262
1250
|
def source_data(
|
|
1263
1251
|
self,
|
|
1264
1252
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"]]:
|
|
1265
|
-
'''
|
|
1253
|
+
'''A union object representing the data field of the TrustAnchor depending on its type.
|
|
1266
1254
|
|
|
1267
1255
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcedata
|
|
1268
1256
|
'''
|
|
@@ -1273,10 +1261,6 @@ class CfnTrustAnchor(
|
|
|
1273
1261
|
def source_type(self) -> typing.Optional[builtins.str]:
|
|
1274
1262
|
'''The type of the TrustAnchor.
|
|
1275
1263
|
|
|
1276
|
-
.. epigraph::
|
|
1277
|
-
|
|
1278
|
-
``AWS_ACM_PCA`` is not an allowed value in your region.
|
|
1279
|
-
|
|
1280
1264
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcetype
|
|
1281
1265
|
'''
|
|
1282
1266
|
result = self._values.get("source_type")
|
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -14532,7 +14532,7 @@ class Location:
|
|
|
14532
14532
|
lambda_.Function(lambda_stack, "Lambda",
|
|
14533
14533
|
code=lambda_code,
|
|
14534
14534
|
handler="index.handler",
|
|
14535
|
-
runtime=lambda_.Runtime.
|
|
14535
|
+
runtime=lambda_.Runtime.NODEJS_LATEST
|
|
14536
14536
|
)
|
|
14537
14537
|
# other resources that your Lambda needs, added to the lambdaStack...
|
|
14538
14538
|
|