aws-cdk-lib 2.128.0__py3-none-any.whl → 2.129.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 +2 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.128.0.jsii.tgz → aws-cdk-lib@2.129.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +6 -24
- aws_cdk/aws_amplify/__init__.py +1 -2
- aws_cdk/aws_appconfig/__init__.py +0 -16
- aws_cdk/aws_applicationautoscaling/__init__.py +55 -22
- aws_cdk/aws_appstream/__init__.py +14 -14
- aws_cdk/aws_appsync/__init__.py +334 -3
- aws_cdk/aws_autoscaling/__init__.py +11 -7
- aws_cdk/aws_batch/__init__.py +137 -16
- aws_cdk/aws_cleanrooms/__init__.py +1 -2
- aws_cdk/aws_cloudformation/__init__.py +2 -10
- aws_cdk/aws_cloudfront/__init__.py +15 -8
- aws_cdk/aws_cloudfront/experimental/__init__.py +22 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +332 -0
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +4 -0
- aws_cdk/aws_codepipeline/__init__.py +463 -11
- aws_cdk/aws_cognito/__init__.py +0 -9
- aws_cdk/aws_config/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +6 -1
- aws_cdk/aws_controltower/__init__.py +527 -7
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +2 -3
- aws_cdk/aws_dynamodb/__init__.py +7 -0
- aws_cdk/aws_ec2/__init__.py +117 -210
- aws_cdk/aws_ecs/__init__.py +537 -3
- aws_cdk/aws_eks/__init__.py +1 -1
- aws_cdk/aws_elasticache/__init__.py +27 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -4
- aws_cdk/aws_emr/__init__.py +23 -3
- aws_cdk/aws_events_targets/__init__.py +64 -20
- aws_cdk/aws_fis/__init__.py +4 -4
- aws_cdk/aws_frauddetector/__init__.py +3 -3
- aws_cdk/aws_globalaccelerator/__init__.py +2 -6
- aws_cdk/aws_glue/__init__.py +84 -55
- aws_cdk/aws_groundstation/__init__.py +8 -12
- aws_cdk/aws_guardduty/__init__.py +74 -70
- aws_cdk/aws_iam/__init__.py +16 -23
- aws_cdk/aws_imagebuilder/__init__.py +178 -156
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +17 -10
- aws_cdk/aws_iotevents/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +10 -5
- aws_cdk/aws_iottwinmaker/__init__.py +3 -5
- aws_cdk/aws_iotwireless/__init__.py +35 -23
- aws_cdk/aws_kendra/__init__.py +36 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +155 -114
- aws_cdk/aws_lambda/__init__.py +157 -12
- aws_cdk/aws_lambda_nodejs/__init__.py +22 -0
- aws_cdk/aws_lightsail/__init__.py +14 -18
- aws_cdk/aws_logs/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +5 -3
- aws_cdk/aws_medialive/__init__.py +3 -12
- aws_cdk/aws_mediapackagev2/__init__.py +287 -286
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_memorydb/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +6 -3
- aws_cdk/aws_mwaa/__init__.py +10 -5
- aws_cdk/aws_neptunegraph/__init__.py +84 -66
- aws_cdk/aws_networkfirewall/__init__.py +5 -8
- aws_cdk/aws_networkmanager/__init__.py +3 -3
- aws_cdk/aws_nimblestudio/__init__.py +2 -4
- aws_cdk/aws_opensearchservice/__init__.py +6 -7
- aws_cdk/aws_osis/__init__.py +1 -3
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +5 -5
- aws_cdk/aws_quicksight/__init__.py +5 -10
- aws_cdk/aws_rds/__init__.py +38 -21
- aws_cdk/aws_redshift/__init__.py +9 -5
- aws_cdk/aws_redshiftserverless/__init__.py +62 -38
- aws_cdk/aws_rolesanywhere/__init__.py +41 -53
- aws_cdk/aws_route53/__init__.py +532 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -3
- aws_cdk/aws_route53recoveryreadiness/__init__.py +2 -2
- aws_cdk/aws_route53resolver/__init__.py +1 -4
- aws_cdk/aws_s3/__init__.py +3 -1
- aws_cdk/aws_s3objectlambda/__init__.py +7 -4
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +111 -11
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_sns/__init__.py +185 -38
- aws_cdk/aws_ssm/__init__.py +16 -16
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +94 -21
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -2
- aws_cdk/aws_vpclattice/__init__.py +8 -4
- aws_cdk/aws_wafv2/__init__.py +14 -59
- aws_cdk/aws_workspaces/__init__.py +5 -4
- aws_cdk/aws_workspacesweb/__init__.py +6 -12
- aws_cdk/triggers/__init__.py +22 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/RECORD +98 -98
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/top_level.txt +0 -0
|
@@ -1501,7 +1501,7 @@ class CfnContainer(
|
|
|
1501
1501
|
:param service_name: The name of the container service.
|
|
1502
1502
|
:param container_service_deployment: An object that describes the current container deployment of the container service.
|
|
1503
1503
|
:param is_disabled: A Boolean value indicating whether the container service is disabled.
|
|
1504
|
-
:param private_registry_access: An object that describes the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry ( Amazon ECR ) private repositories. For more information, see `Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service <https://docs.aws.amazon.com/latest/userguide/amazon-lightsail-container-service-ecr-private-repo-access>`_ in the *Amazon Lightsail Developer Guide* .
|
|
1504
|
+
:param private_registry_access: An object that describes the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry ( Amazon ECR ) private repositories. For more information, see `Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service <https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-container-service-ecr-private-repo-access>`_ in the *Amazon Lightsail Developer Guide* .
|
|
1505
1505
|
:param public_domain_names: The public domain name of the container service, such as ``example.com`` and ``www.example.com`` . You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container that is configured as the public endpoint of your container service. If you don't specify public domain names, then you can use the default domain of the container service. .. epigraph:: You must create and validate an SSL/TLS certificate before you can use public domain names with your container service. Use the `AWS::Lightsail::Certificate <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-certificate.html>`_ resource to create a certificate for the public domain names that you want to use with your container service.
|
|
1506
1506
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ in the *AWS CloudFormation User Guide* . .. epigraph:: The ``Value`` of ``Tags`` is optional for Lightsail resources.
|
|
1507
1507
|
'''
|
|
@@ -1575,7 +1575,7 @@ class CfnContainer(
|
|
|
1575
1575
|
def attr_private_registry_access_ecr_image_puller_role_principal_arn(
|
|
1576
1576
|
self,
|
|
1577
1577
|
) -> builtins.str:
|
|
1578
|
-
'''The Amazon Resource Name (ARN) of the role
|
|
1578
|
+
'''The principle Amazon Resource Name (ARN) of the role.
|
|
1579
1579
|
|
|
1580
1580
|
:cloudformationAttribute: PrivateRegistryAccess.EcrImagePullerRole.PrincipalArn
|
|
1581
1581
|
'''
|
|
@@ -2339,7 +2339,7 @@ class CfnContainer(
|
|
|
2339
2339
|
) -> None:
|
|
2340
2340
|
'''Describes the configuration for an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry ( Amazon ECR ) private repositories.
|
|
2341
2341
|
|
|
2342
|
-
For more information, see `Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service <https://docs.aws.amazon.com/latest/userguide/amazon-lightsail-container-service-ecr-private-repo-access>`_ in the *Amazon Lightsail Developer Guide* .
|
|
2342
|
+
For more information, see `Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service <https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-container-service-ecr-private-repo-access>`_ in the *Amazon Lightsail Developer Guide* .
|
|
2343
2343
|
|
|
2344
2344
|
:param ecr_image_puller_role: An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.
|
|
2345
2345
|
|
|
@@ -2596,7 +2596,7 @@ class CfnContainerProps:
|
|
|
2596
2596
|
:param service_name: The name of the container service.
|
|
2597
2597
|
:param container_service_deployment: An object that describes the current container deployment of the container service.
|
|
2598
2598
|
:param is_disabled: A Boolean value indicating whether the container service is disabled.
|
|
2599
|
-
:param private_registry_access: An object that describes the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry ( Amazon ECR ) private repositories. For more information, see `Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service <https://docs.aws.amazon.com/latest/userguide/amazon-lightsail-container-service-ecr-private-repo-access>`_ in the *Amazon Lightsail Developer Guide* .
|
|
2599
|
+
:param private_registry_access: An object that describes the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry ( Amazon ECR ) private repositories. For more information, see `Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service <https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-container-service-ecr-private-repo-access>`_ in the *Amazon Lightsail Developer Guide* .
|
|
2600
2600
|
:param public_domain_names: The public domain name of the container service, such as ``example.com`` and ``www.example.com`` . You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container that is configured as the public endpoint of your container service. If you don't specify public domain names, then you can use the default domain of the container service. .. epigraph:: You must create and validate an SSL/TLS certificate before you can use public domain names with your container service. Use the `AWS::Lightsail::Certificate <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-certificate.html>`_ resource to create a certificate for the public domain names that you want to use with your container service.
|
|
2601
2601
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ in the *AWS CloudFormation User Guide* . .. epigraph:: The ``Value`` of ``Tags`` is optional for Lightsail resources.
|
|
2602
2602
|
|
|
@@ -2747,7 +2747,7 @@ class CfnContainerProps:
|
|
|
2747
2747
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnContainer.PrivateRegistryAccessProperty]]:
|
|
2748
2748
|
'''An object that describes the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry ( Amazon ECR ) private repositories.
|
|
2749
2749
|
|
|
2750
|
-
For more information, see `Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service <https://docs.aws.amazon.com/latest/userguide/amazon-lightsail-container-service-ecr-private-repo-access>`_ in the *Amazon Lightsail Developer Guide* .
|
|
2750
|
+
For more information, see `Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service <https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-container-service-ecr-private-repo-access>`_ in the *Amazon Lightsail Developer Guide* .
|
|
2751
2751
|
|
|
2752
2752
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-container.html#cfn-lightsail-container-privateregistryaccess
|
|
2753
2753
|
'''
|
|
@@ -3898,9 +3898,7 @@ class CfnDisk(
|
|
|
3898
3898
|
@builtins.property
|
|
3899
3899
|
@jsii.member(jsii_name="attrLocationAvailabilityZone")
|
|
3900
3900
|
def attr_location_availability_zone(self) -> builtins.str:
|
|
3901
|
-
'''The Availability Zone
|
|
3902
|
-
|
|
3903
|
-
Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
|
|
3901
|
+
'''The Availability Zone where the disk is located.
|
|
3904
3902
|
|
|
3905
3903
|
:cloudformationAttribute: Location.AvailabilityZone
|
|
3906
3904
|
'''
|
|
@@ -3909,7 +3907,7 @@ class CfnDisk(
|
|
|
3909
3907
|
@builtins.property
|
|
3910
3908
|
@jsii.member(jsii_name="attrLocationRegionName")
|
|
3911
3909
|
def attr_location_region_name(self) -> builtins.str:
|
|
3912
|
-
'''The Region
|
|
3910
|
+
'''The AWS Region where the disk is located.
|
|
3913
3911
|
|
|
3914
3912
|
:cloudformationAttribute: Location.RegionName
|
|
3915
3913
|
'''
|
|
@@ -5931,7 +5929,7 @@ class CfnInstance(
|
|
|
5931
5929
|
@builtins.property
|
|
5932
5930
|
@jsii.member(jsii_name="attrHardwareCpuCount")
|
|
5933
5931
|
def attr_hardware_cpu_count(self) -> jsii.Number:
|
|
5934
|
-
'''
|
|
5932
|
+
'''The number of vCPUs the instance has.
|
|
5935
5933
|
|
|
5936
5934
|
:cloudformationAttribute: Hardware.CpuCount
|
|
5937
5935
|
'''
|
|
@@ -5940,7 +5938,7 @@ class CfnInstance(
|
|
|
5940
5938
|
@builtins.property
|
|
5941
5939
|
@jsii.member(jsii_name="attrHardwareRamSizeInGb")
|
|
5942
5940
|
def attr_hardware_ram_size_in_gb(self) -> jsii.Number:
|
|
5943
|
-
'''
|
|
5941
|
+
'''The amount of RAM in GB on the instance (for example, ``1.0`` ).
|
|
5944
5942
|
|
|
5945
5943
|
:cloudformationAttribute: Hardware.RamSizeInGb
|
|
5946
5944
|
'''
|
|
@@ -5967,9 +5965,7 @@ class CfnInstance(
|
|
|
5967
5965
|
@builtins.property
|
|
5968
5966
|
@jsii.member(jsii_name="attrLocationAvailabilityZone")
|
|
5969
5967
|
def attr_location_availability_zone(self) -> builtins.str:
|
|
5970
|
-
'''The Availability Zone
|
|
5971
|
-
|
|
5972
|
-
Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
|
|
5968
|
+
'''The AWS Region and Availability Zone where the instance is located.
|
|
5973
5969
|
|
|
5974
5970
|
:cloudformationAttribute: Location.AvailabilityZone
|
|
5975
5971
|
'''
|
|
@@ -5978,7 +5974,7 @@ class CfnInstance(
|
|
|
5978
5974
|
@builtins.property
|
|
5979
5975
|
@jsii.member(jsii_name="attrLocationRegionName")
|
|
5980
5976
|
def attr_location_region_name(self) -> builtins.str:
|
|
5981
|
-
'''The Region
|
|
5977
|
+
'''The AWS Region of the instance.
|
|
5982
5978
|
|
|
5983
5979
|
:cloudformationAttribute: Location.RegionName
|
|
5984
5980
|
'''
|
|
@@ -5987,7 +5983,7 @@ class CfnInstance(
|
|
|
5987
5983
|
@builtins.property
|
|
5988
5984
|
@jsii.member(jsii_name="attrNetworkingMonthlyTransferGbPerMonthAllocated")
|
|
5989
5985
|
def attr_networking_monthly_transfer_gb_per_month_allocated(self) -> builtins.str:
|
|
5990
|
-
'''
|
|
5986
|
+
'''The amount of allocated monthly data transfer (in GB) for an instance.
|
|
5991
5987
|
|
|
5992
5988
|
:cloudformationAttribute: Networking.MonthlyTransfer.GbPerMonthAllocated
|
|
5993
5989
|
'''
|
|
@@ -6032,7 +6028,7 @@ class CfnInstance(
|
|
|
6032
6028
|
@builtins.property
|
|
6033
6029
|
@jsii.member(jsii_name="attrStateCode")
|
|
6034
6030
|
def attr_state_code(self) -> jsii.Number:
|
|
6035
|
-
'''
|
|
6031
|
+
'''The status code of the instance.
|
|
6036
6032
|
|
|
6037
6033
|
:cloudformationAttribute: State.Code
|
|
6038
6034
|
'''
|
|
@@ -6041,7 +6037,7 @@ class CfnInstance(
|
|
|
6041
6037
|
@builtins.property
|
|
6042
6038
|
@jsii.member(jsii_name="attrStateName")
|
|
6043
6039
|
def attr_state_name(self) -> builtins.str:
|
|
6044
|
-
'''
|
|
6040
|
+
'''The state of the instance (for example, ``running`` or ``pending`` ).
|
|
6045
6041
|
|
|
6046
6042
|
:cloudformationAttribute: State.Name
|
|
6047
6043
|
'''
|
aws_cdk/aws_logs/__init__.py
CHANGED
|
@@ -475,14 +475,14 @@ class CfnAccountPolicy(
|
|
|
475
475
|
|
|
476
476
|
*Subscription filter policy*
|
|
477
477
|
|
|
478
|
-
A subscription filter policy sets up a real-time feed of log events from CloudWatch Logs to other AWS services. Account-level subscription filter policies apply to both existing log groups and log groups that are created later in this account. Supported destinations are Kinesis Data Streams ,
|
|
478
|
+
A subscription filter policy sets up a real-time feed of log events from CloudWatch Logs to other AWS services. Account-level subscription filter policies apply to both existing log groups and log groups that are created later in this account. Supported destinations are Kinesis Data Streams , Firehose , and Lambda . When log events are sent to the receiving service, they are Base64 encoded and compressed with the GZIP format.
|
|
479
479
|
|
|
480
480
|
The following destinations are supported for subscription filters:
|
|
481
481
|
|
|
482
482
|
- An Kinesis Data Streams data stream in the same account as the subscription policy, for same-account delivery.
|
|
483
|
-
- An
|
|
483
|
+
- An Firehose data stream in the same account as the subscription policy, for same-account delivery.
|
|
484
484
|
- A Lambda function in the same account as the subscription policy, for same-account delivery.
|
|
485
|
-
- A logical destination in a different account created with `PutDestination <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html>`_ , for cross-account delivery. Kinesis Data Streams and
|
|
485
|
+
- A logical destination in a different account created with `PutDestination <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html>`_ , for cross-account delivery. Kinesis Data Streams and Firehose are supported as logical destinations.
|
|
486
486
|
|
|
487
487
|
Each account can have one account-level subscription filter policy. If you are updating an existing filter, you must specify the correct name in ``PolicyName`` . To perform a ``PutAccountPolicy`` subscription filter operation for any destination except a Lambda function, you must also have the ``iam:PassRole`` permission.
|
|
488
488
|
|
|
@@ -521,7 +521,7 @@ class CfnAccountPolicy(
|
|
|
521
521
|
'''
|
|
522
522
|
:param scope_: Scope in which this resource is defined.
|
|
523
523
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
524
|
-
:param policy_document: Specify the policy, in JSON. *Data protection policy* A data protection policy must include two JSON blocks: - The first block must include both a ``DataIdentifer`` array and an ``Operation`` property with an ``Audit`` action. The ``DataIdentifer`` array lists the types of sensitive data that you want to mask. For more information about the available options, see `Types of data that you can mask <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-types.html>`_ . The ``Operation`` property with an ``Audit`` action is required to find the sensitive data terms. This ``Audit`` action must contain a ``FindingsDestination`` object. You can optionally use that ``FindingsDestination`` object to list one or more destinations to send audit findings to. If you specify destinations such as log groups,
|
|
524
|
+
:param policy_document: Specify the policy, in JSON. *Data protection policy* A data protection policy must include two JSON blocks: - The first block must include both a ``DataIdentifer`` array and an ``Operation`` property with an ``Audit`` action. The ``DataIdentifer`` array lists the types of sensitive data that you want to mask. For more information about the available options, see `Types of data that you can mask <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-types.html>`_ . The ``Operation`` property with an ``Audit`` action is required to find the sensitive data terms. This ``Audit`` action must contain a ``FindingsDestination`` object. You can optionally use that ``FindingsDestination`` object to list one or more destinations to send audit findings to. If you specify destinations such as log groups, Firehose streams, and S3 buckets, they must already exist. - The second block must include both a ``DataIdentifer`` array and an ``Operation`` property with an ``Deidentify`` action. The ``DataIdentifer`` array must exactly match the ``DataIdentifer`` array in the first block of the policy. The ``Operation`` property with the ``Deidentify`` action is what actually masks the data, and it must contain the ``"MaskConfig": {}`` object. The ``"MaskConfig": {}`` object must be empty. .. epigraph:: The contents of the two ``DataIdentifer`` arrays must match exactly. In addition to the two JSON blocks, the ``policyDocument`` can also include ``Name`` , ``Description`` , and ``Version`` fields. The ``Name`` is different than the operation's ``policyName`` parameter, and is used as a dimension when CloudWatch Logs reports audit findings metrics to CloudWatch . The JSON specified in ``policyDocument`` can be up to 30,720 characters long. *Subscription filter policy* A subscription filter policy can include the following attributes in a JSON block: - *DestinationArn* The ARN of the destination to deliver log events to. Supported destinations are: - An Kinesis Data Streams data stream in the same account as the subscription policy, for same-account delivery. - An Firehose data stream in the same account as the subscription policy, for same-account delivery. - A Lambda function in the same account as the subscription policy, for same-account delivery. - A logical destination in a different account created with `PutDestination <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html>`_ , for cross-account delivery. Kinesis Data Streams and Firehose are supported as logical destinations. - *RoleArn* The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. - *FilterPattern* A filter pattern for subscribing to a filtered stream of log events. - *Distribution* The method used to distribute log data to the destination. By default, log data is grouped by log stream, but the grouping can be set to ``Random`` for a more even distribution. This property is only applicable when the destination is an Kinesis Data Streams data stream.
|
|
525
525
|
:param policy_name: A name for the policy. This must be unique within the account.
|
|
526
526
|
:param policy_type: The type of policy that you're creating or updating.
|
|
527
527
|
:param scope: Currently the only valid value for this parameter is ``ALL`` , which specifies that the policy applies to all log groups in the account. If you omit this parameter, the default of ``ALL`` is used. To scope down a subscription filter policy to a subset of log groups, use the ``selectionCriteria`` parameter.
|
|
@@ -676,7 +676,7 @@ class CfnAccountPolicyProps:
|
|
|
676
676
|
) -> None:
|
|
677
677
|
'''Properties for defining a ``CfnAccountPolicy``.
|
|
678
678
|
|
|
679
|
-
:param policy_document: Specify the policy, in JSON. *Data protection policy* A data protection policy must include two JSON blocks: - The first block must include both a ``DataIdentifer`` array and an ``Operation`` property with an ``Audit`` action. The ``DataIdentifer`` array lists the types of sensitive data that you want to mask. For more information about the available options, see `Types of data that you can mask <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-types.html>`_ . The ``Operation`` property with an ``Audit`` action is required to find the sensitive data terms. This ``Audit`` action must contain a ``FindingsDestination`` object. You can optionally use that ``FindingsDestination`` object to list one or more destinations to send audit findings to. If you specify destinations such as log groups,
|
|
679
|
+
:param policy_document: Specify the policy, in JSON. *Data protection policy* A data protection policy must include two JSON blocks: - The first block must include both a ``DataIdentifer`` array and an ``Operation`` property with an ``Audit`` action. The ``DataIdentifer`` array lists the types of sensitive data that you want to mask. For more information about the available options, see `Types of data that you can mask <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-types.html>`_ . The ``Operation`` property with an ``Audit`` action is required to find the sensitive data terms. This ``Audit`` action must contain a ``FindingsDestination`` object. You can optionally use that ``FindingsDestination`` object to list one or more destinations to send audit findings to. If you specify destinations such as log groups, Firehose streams, and S3 buckets, they must already exist. - The second block must include both a ``DataIdentifer`` array and an ``Operation`` property with an ``Deidentify`` action. The ``DataIdentifer`` array must exactly match the ``DataIdentifer`` array in the first block of the policy. The ``Operation`` property with the ``Deidentify`` action is what actually masks the data, and it must contain the ``"MaskConfig": {}`` object. The ``"MaskConfig": {}`` object must be empty. .. epigraph:: The contents of the two ``DataIdentifer`` arrays must match exactly. In addition to the two JSON blocks, the ``policyDocument`` can also include ``Name`` , ``Description`` , and ``Version`` fields. The ``Name`` is different than the operation's ``policyName`` parameter, and is used as a dimension when CloudWatch Logs reports audit findings metrics to CloudWatch . The JSON specified in ``policyDocument`` can be up to 30,720 characters long. *Subscription filter policy* A subscription filter policy can include the following attributes in a JSON block: - *DestinationArn* The ARN of the destination to deliver log events to. Supported destinations are: - An Kinesis Data Streams data stream in the same account as the subscription policy, for same-account delivery. - An Firehose data stream in the same account as the subscription policy, for same-account delivery. - A Lambda function in the same account as the subscription policy, for same-account delivery. - A logical destination in a different account created with `PutDestination <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html>`_ , for cross-account delivery. Kinesis Data Streams and Firehose are supported as logical destinations. - *RoleArn* The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. - *FilterPattern* A filter pattern for subscribing to a filtered stream of log events. - *Distribution* The method used to distribute log data to the destination. By default, log data is grouped by log stream, but the grouping can be set to ``Random`` for a more even distribution. This property is only applicable when the destination is an Kinesis Data Streams data stream.
|
|
680
680
|
:param policy_name: A name for the policy. This must be unique within the account.
|
|
681
681
|
:param policy_type: The type of policy that you're creating or updating.
|
|
682
682
|
:param scope: Currently the only valid value for this parameter is ``ALL`` , which specifies that the policy applies to all log groups in the account. If you omit this parameter, the default of ``ALL`` is used. To scope down a subscription filter policy to a subset of log groups, use the ``selectionCriteria`` parameter.
|
|
@@ -728,7 +728,7 @@ class CfnAccountPolicyProps:
|
|
|
728
728
|
|
|
729
729
|
- The first block must include both a ``DataIdentifer`` array and an ``Operation`` property with an ``Audit`` action. The ``DataIdentifer`` array lists the types of sensitive data that you want to mask. For more information about the available options, see `Types of data that you can mask <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-types.html>`_ .
|
|
730
730
|
|
|
731
|
-
The ``Operation`` property with an ``Audit`` action is required to find the sensitive data terms. This ``Audit`` action must contain a ``FindingsDestination`` object. You can optionally use that ``FindingsDestination`` object to list one or more destinations to send audit findings to. If you specify destinations such as log groups,
|
|
731
|
+
The ``Operation`` property with an ``Audit`` action is required to find the sensitive data terms. This ``Audit`` action must contain a ``FindingsDestination`` object. You can optionally use that ``FindingsDestination`` object to list one or more destinations to send audit findings to. If you specify destinations such as log groups, Firehose streams, and S3 buckets, they must already exist.
|
|
732
732
|
|
|
733
733
|
- The second block must include both a ``DataIdentifer`` array and an ``Operation`` property with an ``Deidentify`` action. The ``DataIdentifer`` array must exactly match the ``DataIdentifer`` array in the first block of the policy.
|
|
734
734
|
|
|
@@ -747,9 +747,9 @@ class CfnAccountPolicyProps:
|
|
|
747
747
|
|
|
748
748
|
- *DestinationArn* The ARN of the destination to deliver log events to. Supported destinations are:
|
|
749
749
|
- An Kinesis Data Streams data stream in the same account as the subscription policy, for same-account delivery.
|
|
750
|
-
- An
|
|
750
|
+
- An Firehose data stream in the same account as the subscription policy, for same-account delivery.
|
|
751
751
|
- A Lambda function in the same account as the subscription policy, for same-account delivery.
|
|
752
|
-
- A logical destination in a different account created with `PutDestination <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html>`_ , for cross-account delivery. Kinesis Data Streams and
|
|
752
|
+
- A logical destination in a different account created with `PutDestination <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html>`_ , for cross-account delivery. Kinesis Data Streams and Firehose are supported as logical destinations.
|
|
753
753
|
- *RoleArn* The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
|
|
754
754
|
- *FilterPattern* A filter pattern for subscribing to a filtered stream of log events.
|
|
755
755
|
- *Distribution* The method used to distribute log data to the destination. By default, log data is grouped by log stream, but the grouping can be set to ``Random`` for a more even distribution. This property is only applicable when the destination is an Kinesis Data Streams data stream.
|
|
@@ -926,7 +926,7 @@ class CfnDelivery(
|
|
|
926
926
|
@builtins.property
|
|
927
927
|
@jsii.member(jsii_name="attrDeliveryDestinationType")
|
|
928
928
|
def attr_delivery_destination_type(self) -> builtins.str:
|
|
929
|
-
'''Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or
|
|
929
|
+
'''Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Firehose.
|
|
930
930
|
|
|
931
931
|
:cloudformationAttribute: DeliveryDestinationType
|
|
932
932
|
'''
|
|
@@ -994,7 +994,7 @@ class CfnDeliveryDestination(
|
|
|
994
994
|
):
|
|
995
995
|
'''This structure contains information about one *delivery destination* in your account.
|
|
996
996
|
|
|
997
|
-
A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, are supported as
|
|
997
|
+
A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, are supported as Firehose delivery destinations.
|
|
998
998
|
|
|
999
999
|
To configure logs delivery between a supported AWS service and a destination, you must do the following:
|
|
1000
1000
|
|
|
@@ -1045,7 +1045,7 @@ class CfnDeliveryDestination(
|
|
|
1045
1045
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1046
1046
|
:param name: The name of this delivery destination.
|
|
1047
1047
|
:param delivery_destination_policy: A structure that contains information about one delivery destination policy.
|
|
1048
|
-
:param destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in
|
|
1048
|
+
:param destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
|
|
1049
1049
|
:param tags: The tags that have been assigned to this delivery destination.
|
|
1050
1050
|
'''
|
|
1051
1051
|
if __debug__:
|
|
@@ -1103,7 +1103,7 @@ class CfnDeliveryDestination(
|
|
|
1103
1103
|
@builtins.property
|
|
1104
1104
|
@jsii.member(jsii_name="attrDeliveryDestinationType")
|
|
1105
1105
|
def attr_delivery_destination_type(self) -> builtins.str:
|
|
1106
|
-
'''Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or
|
|
1106
|
+
'''Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.
|
|
1107
1107
|
|
|
1108
1108
|
:cloudformationAttribute: DeliveryDestinationType
|
|
1109
1109
|
'''
|
|
@@ -1190,7 +1190,7 @@ class CfnDeliveryDestinationProps:
|
|
|
1190
1190
|
|
|
1191
1191
|
:param name: The name of this delivery destination.
|
|
1192
1192
|
:param delivery_destination_policy: A structure that contains information about one delivery destination policy.
|
|
1193
|
-
:param destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in
|
|
1193
|
+
:param destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
|
|
1194
1194
|
:param tags: The tags that have been assigned to this delivery destination.
|
|
1195
1195
|
|
|
1196
1196
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html
|
|
@@ -1255,7 +1255,7 @@ class CfnDeliveryDestinationProps:
|
|
|
1255
1255
|
def destination_resource_arn(self) -> typing.Optional[builtins.str]:
|
|
1256
1256
|
'''The ARN of the AWS destination that this delivery destination represents.
|
|
1257
1257
|
|
|
1258
|
-
That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in
|
|
1258
|
+
That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
|
|
1259
1259
|
|
|
1260
1260
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-destinationresourcearn
|
|
1261
1261
|
'''
|
|
@@ -1387,7 +1387,7 @@ class CfnDeliverySource(
|
|
|
1387
1387
|
):
|
|
1388
1388
|
'''This structure contains information about one *delivery source* in your account.
|
|
1389
1389
|
|
|
1390
|
-
A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or
|
|
1390
|
+
A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Firehose.
|
|
1391
1391
|
|
|
1392
1392
|
Only some AWS services support being configured as a delivery source. These services are listed as *Supported [V2 Permissions]* in the table at `Enabling logging from AWS services. <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html>`_
|
|
1393
1393
|
|
|
@@ -2471,7 +2471,7 @@ class CfnFlow(
|
|
|
2471
2471
|
@builtins.property
|
|
2472
2472
|
@jsii.member(jsii_name="attrSourceIngestIp")
|
|
2473
2473
|
def attr_source_ingest_ip(self) -> builtins.str:
|
|
2474
|
-
'''The IP address that the flow
|
|
2474
|
+
'''The IP address that the flow listens on for incoming content.
|
|
2475
2475
|
|
|
2476
2476
|
:cloudformationAttribute: Source.IngestIp
|
|
2477
2477
|
'''
|
|
@@ -2489,7 +2489,9 @@ class CfnFlow(
|
|
|
2489
2489
|
@builtins.property
|
|
2490
2490
|
@jsii.member(jsii_name="attrSourceSourceIngestPort")
|
|
2491
2491
|
def attr_source_source_ingest_port(self) -> builtins.str:
|
|
2492
|
-
'''The port that the flow
|
|
2492
|
+
'''The port that the flow listens on for incoming content.
|
|
2493
|
+
|
|
2494
|
+
If the protocol of the source is Zixi, the port must be set to 2088.
|
|
2493
2495
|
|
|
2494
2496
|
:cloudformationAttribute: Source.SourceIngestPort
|
|
2495
2497
|
'''
|
|
@@ -6336,7 +6338,7 @@ class CfnFlowVpcInterface(
|
|
|
6336
6338
|
@builtins.property
|
|
6337
6339
|
@jsii.member(jsii_name="attrNetworkInterfaceIds")
|
|
6338
6340
|
def attr_network_interface_ids(self) -> typing.List[builtins.str]:
|
|
6339
|
-
'''
|
|
6341
|
+
'''IDs of the network interfaces created in customer's account by MediaConnect.
|
|
6340
6342
|
|
|
6341
6343
|
:cloudformationAttribute: NetworkInterfaceIds
|
|
6342
6344
|
'''
|
|
@@ -180,10 +180,7 @@ class CfnChannel(
|
|
|
180
180
|
@builtins.property
|
|
181
181
|
@jsii.member(jsii_name="attrInputs")
|
|
182
182
|
def attr_inputs(self) -> typing.List[builtins.str]:
|
|
183
|
-
'''
|
|
184
|
-
|
|
185
|
-
The inputs are identified by their IDs (not by their names or their ARNs).
|
|
186
|
-
|
|
183
|
+
'''
|
|
187
184
|
:cloudformationAttribute: Inputs
|
|
188
185
|
'''
|
|
189
186
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrInputs"))
|
|
@@ -22041,10 +22038,7 @@ class CfnInput(
|
|
|
22041
22038
|
@builtins.property
|
|
22042
22039
|
@jsii.member(jsii_name="attrDestinations")
|
|
22043
22040
|
def attr_destinations(self) -> typing.List[builtins.str]:
|
|
22044
|
-
'''
|
|
22045
|
-
|
|
22046
|
-
The destinations are the URLs of locations on MediaLive where the upstream system pushes the content to, for this input. MediaLive creates these addresses when it creates the input.
|
|
22047
|
-
|
|
22041
|
+
'''
|
|
22048
22042
|
:cloudformationAttribute: Destinations
|
|
22049
22043
|
'''
|
|
22050
22044
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrDestinations"))
|
|
@@ -22061,10 +22055,7 @@ class CfnInput(
|
|
|
22061
22055
|
@builtins.property
|
|
22062
22056
|
@jsii.member(jsii_name="attrSources")
|
|
22063
22057
|
def attr_sources(self) -> typing.List[builtins.str]:
|
|
22064
|
-
'''
|
|
22065
|
-
|
|
22066
|
-
The sources are the URLs of locations on the upstream system where MediaLive pulls the content from, for this input. You included these URLs in the create request.
|
|
22067
|
-
|
|
22058
|
+
'''
|
|
22068
22059
|
:cloudformationAttribute: Sources
|
|
22069
22060
|
'''
|
|
22070
22061
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrSources"))
|