aws-cdk-lib 2.209.1__py3-none-any.whl → 2.211.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 +6 -11
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.209.1.jsii.tgz → aws-cdk-lib@2.211.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_arcregionswitch/__init__.py +4962 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +721 -51
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +20 -8
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +155 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +160 -20
- aws_cdk/aws_ec2/__init__.py +978 -256
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +335 -220
- aws_cdk/aws_eks/__init__.py +51 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +9 -7
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- 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_kms/__init__.py +15 -0
- aws_cdk/aws_lambda/__init__.py +3 -3
- 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_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +36 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +107 -0
- aws_cdk/aws_rds/__init__.py +274 -0
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +52 -1
- aws_cdk/aws_sagemaker/__init__.py +4033 -218
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_ssm/__init__.py +8 -4
- 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_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/METADATA +8 -8
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/RECORD +58 -56
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_logs/__init__.py
CHANGED
|
@@ -2384,7 +2384,7 @@ class CfnDeliverySourceProps:
|
|
|
2384
2384
|
)
|
|
2385
2385
|
|
|
2386
2386
|
|
|
2387
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
2387
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
2388
2388
|
class CfnDestination(
|
|
2389
2389
|
_CfnResource_9df397a6,
|
|
2390
2390
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2410,7 +2410,11 @@ class CfnDestination(
|
|
|
2410
2410
|
target_arn="targetArn",
|
|
2411
2411
|
|
|
2412
2412
|
# the properties below are optional
|
|
2413
|
-
destination_policy="destinationPolicy"
|
|
2413
|
+
destination_policy="destinationPolicy",
|
|
2414
|
+
tags=[CfnTag(
|
|
2415
|
+
key="key",
|
|
2416
|
+
value="value"
|
|
2417
|
+
)]
|
|
2414
2418
|
)
|
|
2415
2419
|
'''
|
|
2416
2420
|
|
|
@@ -2423,6 +2427,7 @@ class CfnDestination(
|
|
|
2423
2427
|
role_arn: builtins.str,
|
|
2424
2428
|
target_arn: builtins.str,
|
|
2425
2429
|
destination_policy: typing.Optional[builtins.str] = None,
|
|
2430
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2426
2431
|
) -> None:
|
|
2427
2432
|
'''
|
|
2428
2433
|
:param scope: Scope in which this resource is defined.
|
|
@@ -2431,6 +2436,7 @@ class CfnDestination(
|
|
|
2431
2436
|
:param role_arn: The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.
|
|
2432
2437
|
:param target_arn: The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
|
|
2433
2438
|
:param destination_policy: An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
|
|
2439
|
+
:param tags: The tags that have been assigned to this delivery destination.
|
|
2434
2440
|
'''
|
|
2435
2441
|
if __debug__:
|
|
2436
2442
|
type_hints = typing.get_type_hints(_typecheckingstub__44e37c6c2772abdacfbcd01df5c5418fca8937b435df3890a5a5cb3437b9bab5)
|
|
@@ -2441,6 +2447,7 @@ class CfnDestination(
|
|
|
2441
2447
|
role_arn=role_arn,
|
|
2442
2448
|
target_arn=target_arn,
|
|
2443
2449
|
destination_policy=destination_policy,
|
|
2450
|
+
tags=tags,
|
|
2444
2451
|
)
|
|
2445
2452
|
|
|
2446
2453
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -2484,6 +2491,12 @@ class CfnDestination(
|
|
|
2484
2491
|
'''
|
|
2485
2492
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
2486
2493
|
|
|
2494
|
+
@builtins.property
|
|
2495
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
2496
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
2497
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
2498
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
2499
|
+
|
|
2487
2500
|
@builtins.property
|
|
2488
2501
|
@jsii.member(jsii_name="cfnProperties")
|
|
2489
2502
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -2541,6 +2554,19 @@ class CfnDestination(
|
|
|
2541
2554
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2542
2555
|
jsii.set(self, "destinationPolicy", value) # pyright: ignore[reportArgumentType]
|
|
2543
2556
|
|
|
2557
|
+
@builtins.property
|
|
2558
|
+
@jsii.member(jsii_name="tags")
|
|
2559
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2560
|
+
'''The tags that have been assigned to this delivery destination.'''
|
|
2561
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
2562
|
+
|
|
2563
|
+
@tags.setter
|
|
2564
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
2565
|
+
if __debug__:
|
|
2566
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5e2da427145601b64454ab268bb3be33f3c089ff53e25e2b9a66fd51a6d385db)
|
|
2567
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2568
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
2569
|
+
|
|
2544
2570
|
|
|
2545
2571
|
@jsii.data_type(
|
|
2546
2572
|
jsii_type="aws-cdk-lib.aws_logs.CfnDestinationProps",
|
|
@@ -2550,6 +2576,7 @@ class CfnDestination(
|
|
|
2550
2576
|
"role_arn": "roleArn",
|
|
2551
2577
|
"target_arn": "targetArn",
|
|
2552
2578
|
"destination_policy": "destinationPolicy",
|
|
2579
|
+
"tags": "tags",
|
|
2553
2580
|
},
|
|
2554
2581
|
)
|
|
2555
2582
|
class CfnDestinationProps:
|
|
@@ -2560,6 +2587,7 @@ class CfnDestinationProps:
|
|
|
2560
2587
|
role_arn: builtins.str,
|
|
2561
2588
|
target_arn: builtins.str,
|
|
2562
2589
|
destination_policy: typing.Optional[builtins.str] = None,
|
|
2590
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2563
2591
|
) -> None:
|
|
2564
2592
|
'''Properties for defining a ``CfnDestination``.
|
|
2565
2593
|
|
|
@@ -2567,6 +2595,7 @@ class CfnDestinationProps:
|
|
|
2567
2595
|
:param role_arn: The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.
|
|
2568
2596
|
:param target_arn: The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
|
|
2569
2597
|
:param destination_policy: An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
|
|
2598
|
+
:param tags: The tags that have been assigned to this delivery destination.
|
|
2570
2599
|
|
|
2571
2600
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html
|
|
2572
2601
|
:exampleMetadata: fixture=_generated
|
|
@@ -2583,7 +2612,11 @@ class CfnDestinationProps:
|
|
|
2583
2612
|
target_arn="targetArn",
|
|
2584
2613
|
|
|
2585
2614
|
# the properties below are optional
|
|
2586
|
-
destination_policy="destinationPolicy"
|
|
2615
|
+
destination_policy="destinationPolicy",
|
|
2616
|
+
tags=[CfnTag(
|
|
2617
|
+
key="key",
|
|
2618
|
+
value="value"
|
|
2619
|
+
)]
|
|
2587
2620
|
)
|
|
2588
2621
|
'''
|
|
2589
2622
|
if __debug__:
|
|
@@ -2592,6 +2625,7 @@ class CfnDestinationProps:
|
|
|
2592
2625
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
2593
2626
|
check_type(argname="argument target_arn", value=target_arn, expected_type=type_hints["target_arn"])
|
|
2594
2627
|
check_type(argname="argument destination_policy", value=destination_policy, expected_type=type_hints["destination_policy"])
|
|
2628
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2595
2629
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2596
2630
|
"destination_name": destination_name,
|
|
2597
2631
|
"role_arn": role_arn,
|
|
@@ -2599,6 +2633,8 @@ class CfnDestinationProps:
|
|
|
2599
2633
|
}
|
|
2600
2634
|
if destination_policy is not None:
|
|
2601
2635
|
self._values["destination_policy"] = destination_policy
|
|
2636
|
+
if tags is not None:
|
|
2637
|
+
self._values["tags"] = tags
|
|
2602
2638
|
|
|
2603
2639
|
@builtins.property
|
|
2604
2640
|
def destination_name(self) -> builtins.str:
|
|
@@ -2639,6 +2675,15 @@ class CfnDestinationProps:
|
|
|
2639
2675
|
result = self._values.get("destination_policy")
|
|
2640
2676
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2641
2677
|
|
|
2678
|
+
@builtins.property
|
|
2679
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2680
|
+
'''The tags that have been assigned to this delivery destination.
|
|
2681
|
+
|
|
2682
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-tags
|
|
2683
|
+
'''
|
|
2684
|
+
result = self._values.get("tags")
|
|
2685
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
2686
|
+
|
|
2642
2687
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2643
2688
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2644
2689
|
|
|
@@ -3550,6 +3595,7 @@ class CfnLogGroup(
|
|
|
3550
3595
|
|
|
3551
3596
|
# data_protection_policy: Any
|
|
3552
3597
|
# field_index_policies: Any
|
|
3598
|
+
# resource_policy_document: Any
|
|
3553
3599
|
|
|
3554
3600
|
cfn_log_group = logs.CfnLogGroup(self, "MyCfnLogGroup",
|
|
3555
3601
|
data_protection_policy=data_protection_policy,
|
|
@@ -3557,6 +3603,7 @@ class CfnLogGroup(
|
|
|
3557
3603
|
kms_key_id="kmsKeyId",
|
|
3558
3604
|
log_group_class="logGroupClass",
|
|
3559
3605
|
log_group_name="logGroupName",
|
|
3606
|
+
resource_policy_document=resource_policy_document,
|
|
3560
3607
|
retention_in_days=123,
|
|
3561
3608
|
tags=[CfnTag(
|
|
3562
3609
|
key="key",
|
|
@@ -3575,6 +3622,7 @@ class CfnLogGroup(
|
|
|
3575
3622
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
3576
3623
|
log_group_class: typing.Optional[builtins.str] = None,
|
|
3577
3624
|
log_group_name: typing.Optional[builtins.str] = None,
|
|
3625
|
+
resource_policy_document: typing.Any = None,
|
|
3578
3626
|
retention_in_days: typing.Optional[jsii.Number] = None,
|
|
3579
3627
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3580
3628
|
) -> None:
|
|
@@ -3586,6 +3634,7 @@ class CfnLogGroup(
|
|
|
3586
3634
|
:param kms_key_id: The Amazon Resource Name (ARN) of the AWS KMS key to use when encrypting log data. To associate an AWS KMS key with the log group, specify the ARN of that KMS key here. If you do so, ingested data is encrypted using this key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs . This enables CloudWatch Logs to decrypt this data whenever it is requested. If you attempt to associate a KMS key with the log group but the KMS key doesn't exist or is deactivated, you will receive an ``InvalidParameterException`` error. Log group data is always encrypted in CloudWatch Logs . If you omit this key, the encryption does not use AWS KMS . For more information, see `Encrypt log data in CloudWatch Logs using AWS Key Management Service <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html>`_
|
|
3587
3635
|
:param log_group_class: Specifies the log group class for this log group. There are two classes:. - The ``Standard`` log class supports all CloudWatch Logs features. - The ``Infrequent Access`` log class supports a subset of CloudWatch Logs features and incurs lower costs. For details about the features supported by each class, see `Log classes <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html>`_ Default: - "STANDARD"
|
|
3588
3636
|
:param log_group_name: The name of the log group. If you don't specify a name, AWS CloudFormation generates a unique ID for the log group.
|
|
3637
|
+
:param resource_policy_document:
|
|
3589
3638
|
:param retention_in_days: The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, and 3653. To set a log group so that its log events do not expire, use `DeleteRetentionPolicy <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html>`_ .
|
|
3590
3639
|
:param tags: An array of key-value pairs to apply to the log group. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
3591
3640
|
'''
|
|
@@ -3599,6 +3648,7 @@ class CfnLogGroup(
|
|
|
3599
3648
|
kms_key_id=kms_key_id,
|
|
3600
3649
|
log_group_class=log_group_class,
|
|
3601
3650
|
log_group_name=log_group_name,
|
|
3651
|
+
resource_policy_document=resource_policy_document,
|
|
3602
3652
|
retention_in_days=retention_in_days,
|
|
3603
3653
|
tags=tags,
|
|
3604
3654
|
)
|
|
@@ -3728,6 +3778,18 @@ class CfnLogGroup(
|
|
|
3728
3778
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3729
3779
|
jsii.set(self, "logGroupName", value) # pyright: ignore[reportArgumentType]
|
|
3730
3780
|
|
|
3781
|
+
@builtins.property
|
|
3782
|
+
@jsii.member(jsii_name="resourcePolicyDocument")
|
|
3783
|
+
def resource_policy_document(self) -> typing.Any:
|
|
3784
|
+
return typing.cast(typing.Any, jsii.get(self, "resourcePolicyDocument"))
|
|
3785
|
+
|
|
3786
|
+
@resource_policy_document.setter
|
|
3787
|
+
def resource_policy_document(self, value: typing.Any) -> None:
|
|
3788
|
+
if __debug__:
|
|
3789
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8d6853e85debe88051bdf2f6ab68103e166533560e34248419263b9c0f7dd03e)
|
|
3790
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3791
|
+
jsii.set(self, "resourcePolicyDocument", value) # pyright: ignore[reportArgumentType]
|
|
3792
|
+
|
|
3731
3793
|
@builtins.property
|
|
3732
3794
|
@jsii.member(jsii_name="retentionInDays")
|
|
3733
3795
|
def retention_in_days(self) -> typing.Optional[jsii.Number]:
|
|
@@ -3764,6 +3826,7 @@ class CfnLogGroup(
|
|
|
3764
3826
|
"kms_key_id": "kmsKeyId",
|
|
3765
3827
|
"log_group_class": "logGroupClass",
|
|
3766
3828
|
"log_group_name": "logGroupName",
|
|
3829
|
+
"resource_policy_document": "resourcePolicyDocument",
|
|
3767
3830
|
"retention_in_days": "retentionInDays",
|
|
3768
3831
|
"tags": "tags",
|
|
3769
3832
|
},
|
|
@@ -3777,6 +3840,7 @@ class CfnLogGroupProps:
|
|
|
3777
3840
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
3778
3841
|
log_group_class: typing.Optional[builtins.str] = None,
|
|
3779
3842
|
log_group_name: typing.Optional[builtins.str] = None,
|
|
3843
|
+
resource_policy_document: typing.Any = None,
|
|
3780
3844
|
retention_in_days: typing.Optional[jsii.Number] = None,
|
|
3781
3845
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3782
3846
|
) -> None:
|
|
@@ -3787,6 +3851,7 @@ class CfnLogGroupProps:
|
|
|
3787
3851
|
:param kms_key_id: The Amazon Resource Name (ARN) of the AWS KMS key to use when encrypting log data. To associate an AWS KMS key with the log group, specify the ARN of that KMS key here. If you do so, ingested data is encrypted using this key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs . This enables CloudWatch Logs to decrypt this data whenever it is requested. If you attempt to associate a KMS key with the log group but the KMS key doesn't exist or is deactivated, you will receive an ``InvalidParameterException`` error. Log group data is always encrypted in CloudWatch Logs . If you omit this key, the encryption does not use AWS KMS . For more information, see `Encrypt log data in CloudWatch Logs using AWS Key Management Service <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html>`_
|
|
3788
3852
|
:param log_group_class: Specifies the log group class for this log group. There are two classes:. - The ``Standard`` log class supports all CloudWatch Logs features. - The ``Infrequent Access`` log class supports a subset of CloudWatch Logs features and incurs lower costs. For details about the features supported by each class, see `Log classes <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html>`_ Default: - "STANDARD"
|
|
3789
3853
|
:param log_group_name: The name of the log group. If you don't specify a name, AWS CloudFormation generates a unique ID for the log group.
|
|
3854
|
+
:param resource_policy_document:
|
|
3790
3855
|
:param retention_in_days: The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, and 3653. To set a log group so that its log events do not expire, use `DeleteRetentionPolicy <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html>`_ .
|
|
3791
3856
|
:param tags: An array of key-value pairs to apply to the log group. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
3792
3857
|
|
|
@@ -3801,6 +3866,7 @@ class CfnLogGroupProps:
|
|
|
3801
3866
|
|
|
3802
3867
|
# data_protection_policy: Any
|
|
3803
3868
|
# field_index_policies: Any
|
|
3869
|
+
# resource_policy_document: Any
|
|
3804
3870
|
|
|
3805
3871
|
cfn_log_group_props = logs.CfnLogGroupProps(
|
|
3806
3872
|
data_protection_policy=data_protection_policy,
|
|
@@ -3808,6 +3874,7 @@ class CfnLogGroupProps:
|
|
|
3808
3874
|
kms_key_id="kmsKeyId",
|
|
3809
3875
|
log_group_class="logGroupClass",
|
|
3810
3876
|
log_group_name="logGroupName",
|
|
3877
|
+
resource_policy_document=resource_policy_document,
|
|
3811
3878
|
retention_in_days=123,
|
|
3812
3879
|
tags=[CfnTag(
|
|
3813
3880
|
key="key",
|
|
@@ -3822,6 +3889,7 @@ class CfnLogGroupProps:
|
|
|
3822
3889
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
3823
3890
|
check_type(argname="argument log_group_class", value=log_group_class, expected_type=type_hints["log_group_class"])
|
|
3824
3891
|
check_type(argname="argument log_group_name", value=log_group_name, expected_type=type_hints["log_group_name"])
|
|
3892
|
+
check_type(argname="argument resource_policy_document", value=resource_policy_document, expected_type=type_hints["resource_policy_document"])
|
|
3825
3893
|
check_type(argname="argument retention_in_days", value=retention_in_days, expected_type=type_hints["retention_in_days"])
|
|
3826
3894
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
3827
3895
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -3835,6 +3903,8 @@ class CfnLogGroupProps:
|
|
|
3835
3903
|
self._values["log_group_class"] = log_group_class
|
|
3836
3904
|
if log_group_name is not None:
|
|
3837
3905
|
self._values["log_group_name"] = log_group_name
|
|
3906
|
+
if resource_policy_document is not None:
|
|
3907
|
+
self._values["resource_policy_document"] = resource_policy_document
|
|
3838
3908
|
if retention_in_days is not None:
|
|
3839
3909
|
self._values["retention_in_days"] = retention_in_days
|
|
3840
3910
|
if tags is not None:
|
|
@@ -3912,6 +3982,14 @@ class CfnLogGroupProps:
|
|
|
3912
3982
|
result = self._values.get("log_group_name")
|
|
3913
3983
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
3914
3984
|
|
|
3985
|
+
@builtins.property
|
|
3986
|
+
def resource_policy_document(self) -> typing.Any:
|
|
3987
|
+
'''
|
|
3988
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-logs-loggroup-resourcepolicydocument
|
|
3989
|
+
'''
|
|
3990
|
+
result = self._values.get("resource_policy_document")
|
|
3991
|
+
return typing.cast(typing.Any, result)
|
|
3992
|
+
|
|
3915
3993
|
@builtins.property
|
|
3916
3994
|
def retention_in_days(self) -> typing.Optional[jsii.Number]:
|
|
3917
3995
|
'''The number of days to retain the log events in the specified log group.
|
|
@@ -18104,6 +18182,7 @@ def _typecheckingstub__44e37c6c2772abdacfbcd01df5c5418fca8937b435df3890a5a5cb343
|
|
|
18104
18182
|
role_arn: builtins.str,
|
|
18105
18183
|
target_arn: builtins.str,
|
|
18106
18184
|
destination_policy: typing.Optional[builtins.str] = None,
|
|
18185
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18107
18186
|
) -> None:
|
|
18108
18187
|
"""Type checking stubs"""
|
|
18109
18188
|
pass
|
|
@@ -18144,12 +18223,19 @@ def _typecheckingstub__4b0569830af0faea41307b4fd071b0ef86a0b49f3514f3050bfa53cc7
|
|
|
18144
18223
|
"""Type checking stubs"""
|
|
18145
18224
|
pass
|
|
18146
18225
|
|
|
18226
|
+
def _typecheckingstub__5e2da427145601b64454ab268bb3be33f3c089ff53e25e2b9a66fd51a6d385db(
|
|
18227
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
18228
|
+
) -> None:
|
|
18229
|
+
"""Type checking stubs"""
|
|
18230
|
+
pass
|
|
18231
|
+
|
|
18147
18232
|
def _typecheckingstub__faf2f9f88fd096e79a2445aab3efdc3a85509df7ba06ffc305c9faf39fa77a56(
|
|
18148
18233
|
*,
|
|
18149
18234
|
destination_name: builtins.str,
|
|
18150
18235
|
role_arn: builtins.str,
|
|
18151
18236
|
target_arn: builtins.str,
|
|
18152
18237
|
destination_policy: typing.Optional[builtins.str] = None,
|
|
18238
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18153
18239
|
) -> None:
|
|
18154
18240
|
"""Type checking stubs"""
|
|
18155
18241
|
pass
|
|
@@ -18313,6 +18399,7 @@ def _typecheckingstub__8e283e76ec168d67513d106f9413697672f161b29f03fa9b13486e96b
|
|
|
18313
18399
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
18314
18400
|
log_group_class: typing.Optional[builtins.str] = None,
|
|
18315
18401
|
log_group_name: typing.Optional[builtins.str] = None,
|
|
18402
|
+
resource_policy_document: typing.Any = None,
|
|
18316
18403
|
retention_in_days: typing.Optional[jsii.Number] = None,
|
|
18317
18404
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18318
18405
|
) -> None:
|
|
@@ -18361,6 +18448,12 @@ def _typecheckingstub__08bea1f6b59cbce316d19aa0ff5db07ed0da20b04cc322eb41788ce24
|
|
|
18361
18448
|
"""Type checking stubs"""
|
|
18362
18449
|
pass
|
|
18363
18450
|
|
|
18451
|
+
def _typecheckingstub__8d6853e85debe88051bdf2f6ab68103e166533560e34248419263b9c0f7dd03e(
|
|
18452
|
+
value: typing.Any,
|
|
18453
|
+
) -> None:
|
|
18454
|
+
"""Type checking stubs"""
|
|
18455
|
+
pass
|
|
18456
|
+
|
|
18364
18457
|
def _typecheckingstub__d977a18b9031aeb9d37e4baf6f3eccb9ebf070ad2e33a30cfba9f69fbaf62408(
|
|
18365
18458
|
value: typing.Optional[jsii.Number],
|
|
18366
18459
|
) -> None:
|
|
@@ -18380,6 +18473,7 @@ def _typecheckingstub__1a2ba122502a64b05bea3e56f15389c84f127761b660b1d06de3ea638
|
|
|
18380
18473
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
18381
18474
|
log_group_class: typing.Optional[builtins.str] = None,
|
|
18382
18475
|
log_group_name: typing.Optional[builtins.str] = None,
|
|
18476
|
+
resource_policy_document: typing.Any = None,
|
|
18383
18477
|
retention_in_days: typing.Optional[jsii.Number] = None,
|
|
18384
18478
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
18385
18479
|
) -> None:
|