aws-cdk-lib 2.150.0__py3-none-any.whl → 2.151.1__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 +4 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.150.0.jsii.tgz → aws-cdk-lib@2.151.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +94 -21
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_bedrock/__init__.py +28 -20
- aws_cdk/aws_cleanrooms/__init__.py +5 -5
- aws_cdk/aws_cloudformation/__init__.py +2 -2
- aws_cdk/aws_cloudfront/__init__.py +102 -32
- aws_cdk/aws_cloudtrail/__init__.py +6 -2
- aws_cdk/aws_ec2/__init__.py +181 -3
- aws_cdk/aws_ecs/__init__.py +5 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +104 -9
- aws_cdk/aws_entityresolution/__init__.py +27 -21
- aws_cdk/aws_events/__init__.py +83 -16
- aws_cdk/aws_iam/__init__.py +11 -24
- aws_cdk/aws_iotsitewise/__init__.py +8 -8
- aws_cdk/aws_lambda/__init__.py +2 -0
- aws_cdk/aws_mwaa/__init__.py +3 -3
- aws_cdk/aws_pipes/__init__.py +2 -2
- aws_cdk/aws_rds/__init__.py +237 -197
- aws_cdk/aws_s3/__init__.py +8 -2
- aws_cdk/aws_ses/__init__.py +3 -3
- aws_cdk/aws_sns/__init__.py +5 -2
- aws_cdk/aws_stepfunctions/__init__.py +5 -2
- aws_cdk/aws_stepfunctions_tasks/__init__.py +17 -0
- aws_cdk/aws_synthetics/__init__.py +159 -21
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.1.dist-info}/METADATA +8 -8
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.1.dist-info}/RECORD +34 -34
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.1.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.1.dist-info}/top_level.txt +0 -0
|
@@ -4403,7 +4403,7 @@ class CfnPrivacyBudgetTemplate(
|
|
|
4403
4403
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4404
4404
|
:param auto_refresh: How often the privacy budget refreshes. .. epigraph:: If you plan to regularly bring new data into the collaboration, use ``CALENDAR_MONTH`` to automatically get a new privacy budget for the collaboration every calendar month. Choosing this option allows arbitrary amounts of information to be revealed about rows of the data when repeatedly queried across refreshes. Avoid choosing this if the same rows will be repeatedly queried between privacy budget refreshes.
|
|
4405
4405
|
:param membership_identifier: The identifier for a membership resource.
|
|
4406
|
-
:param parameters: Specifies the
|
|
4406
|
+
:param parameters: Specifies the epsilon and noise parameters for the privacy budget template.
|
|
4407
4407
|
:param privacy_budget_type: Specifies the type of the privacy budget template.
|
|
4408
4408
|
:param tags: An arbitrary set of tags (key-value pairs) for this cleanrooms privacy budget template.
|
|
4409
4409
|
'''
|
|
@@ -4540,7 +4540,7 @@ class CfnPrivacyBudgetTemplate(
|
|
|
4540
4540
|
def parameters(
|
|
4541
4541
|
self,
|
|
4542
4542
|
) -> typing.Union[_IResolvable_da3f097b, "CfnPrivacyBudgetTemplate.ParametersProperty"]:
|
|
4543
|
-
'''Specifies the
|
|
4543
|
+
'''Specifies the epsilon and noise parameters for the privacy budget template.'''
|
|
4544
4544
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnPrivacyBudgetTemplate.ParametersProperty"], jsii.get(self, "parameters"))
|
|
4545
4545
|
|
|
4546
4546
|
@parameters.setter
|
|
@@ -4594,7 +4594,7 @@ class CfnPrivacyBudgetTemplate(
|
|
|
4594
4594
|
epsilon: jsii.Number,
|
|
4595
4595
|
users_noise_per_query: jsii.Number,
|
|
4596
4596
|
) -> None:
|
|
4597
|
-
'''Specifies the
|
|
4597
|
+
'''Specifies the epsilon and noise parameters for the privacy budget template.
|
|
4598
4598
|
|
|
4599
4599
|
:param epsilon: The epsilon value that you want to use.
|
|
4600
4600
|
:param users_noise_per_query: Noise added per query is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted.
|
|
@@ -4681,7 +4681,7 @@ class CfnPrivacyBudgetTemplateProps:
|
|
|
4681
4681
|
|
|
4682
4682
|
:param auto_refresh: How often the privacy budget refreshes. .. epigraph:: If you plan to regularly bring new data into the collaboration, use ``CALENDAR_MONTH`` to automatically get a new privacy budget for the collaboration every calendar month. Choosing this option allows arbitrary amounts of information to be revealed about rows of the data when repeatedly queried across refreshes. Avoid choosing this if the same rows will be repeatedly queried between privacy budget refreshes.
|
|
4683
4683
|
:param membership_identifier: The identifier for a membership resource.
|
|
4684
|
-
:param parameters: Specifies the
|
|
4684
|
+
:param parameters: Specifies the epsilon and noise parameters for the privacy budget template.
|
|
4685
4685
|
:param privacy_budget_type: Specifies the type of the privacy budget template.
|
|
4686
4686
|
:param tags: An arbitrary set of tags (key-value pairs) for this cleanrooms privacy budget template.
|
|
4687
4687
|
|
|
@@ -4754,7 +4754,7 @@ class CfnPrivacyBudgetTemplateProps:
|
|
|
4754
4754
|
def parameters(
|
|
4755
4755
|
self,
|
|
4756
4756
|
) -> typing.Union[_IResolvable_da3f097b, CfnPrivacyBudgetTemplate.ParametersProperty]:
|
|
4757
|
-
'''Specifies the
|
|
4757
|
+
'''Specifies the epsilon and noise parameters for the privacy budget template.
|
|
4758
4758
|
|
|
4759
4759
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-parameters
|
|
4760
4760
|
'''
|
|
@@ -4255,7 +4255,7 @@ class CfnStackSet(
|
|
|
4255
4255
|
) -> None:
|
|
4256
4256
|
'''The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.
|
|
4257
4257
|
|
|
4258
|
-
:param account_filter_type: Limit deployment targets to individual accounts or include additional accounts with provided OUs. The following is a list of possible values for the ``AccountFilterType`` operation. - ``INTERSECTION`` : StackSet deploys to the accounts specified in the ``Accounts`` parameter. - ``DIFFERENCE`` : StackSet deploys to the OU, excluding the accounts specified in the ``Accounts`` parameter. - ``UNION``
|
|
4258
|
+
:param account_filter_type: Limit deployment targets to individual accounts or include additional accounts with provided OUs. The following is a list of possible values for the ``AccountFilterType`` operation. - ``INTERSECTION`` : StackSet deploys to the accounts specified in the ``Accounts`` parameter. - ``DIFFERENCE`` : StackSet deploys to the OU, excluding the accounts specified in the ``Accounts`` parameter. - ``UNION`` StackSet deploys to the OU, and the accounts specified in the ``Accounts`` parameter. ``UNION`` is not supported for create operations when using StackSet as a resource.
|
|
4259
4259
|
:param accounts: The names of one or more AWS accounts for which you want to deploy stack set updates. *Pattern* : ``^[0-9]{12}$``
|
|
4260
4260
|
:param accounts_url: Returns the value of the ``AccountsUrl`` property.
|
|
4261
4261
|
:param organizational_unit_ids: The organization root ID or organizational unit (OU) IDs to which StackSets deploys. *Pattern* : ``^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32}|r-[a-z0-9]{4,32})$``
|
|
@@ -4300,7 +4300,7 @@ class CfnStackSet(
|
|
|
4300
4300
|
|
|
4301
4301
|
- ``INTERSECTION`` : StackSet deploys to the accounts specified in the ``Accounts`` parameter.
|
|
4302
4302
|
- ``DIFFERENCE`` : StackSet deploys to the OU, excluding the accounts specified in the ``Accounts`` parameter.
|
|
4303
|
-
- ``UNION``
|
|
4303
|
+
- ``UNION`` StackSet deploys to the OU, and the accounts specified in the ``Accounts`` parameter. ``UNION`` is not supported for create operations when using StackSet as a resource.
|
|
4304
4304
|
|
|
4305
4305
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accountfiltertype
|
|
4306
4306
|
'''
|
|
@@ -4184,9 +4184,14 @@ class CfnContinuousDeploymentPolicy(
|
|
|
4184
4184
|
)
|
|
4185
4185
|
class SingleHeaderPolicyConfigProperty:
|
|
4186
4186
|
def __init__(self, *, header: builtins.str, value: builtins.str) -> None:
|
|
4187
|
-
'''
|
|
4188
|
-
|
|
4189
|
-
|
|
4187
|
+
'''Defines a single header policy for a CloudFront distribution.
|
|
4188
|
+
|
|
4189
|
+
.. epigraph::
|
|
4190
|
+
|
|
4191
|
+
This property is legacy. We recommend that you use `TrafficConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html>`_ and specify the `SingleHeaderConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html#cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-singleheaderconfig>`_ property instead.
|
|
4192
|
+
|
|
4193
|
+
:param header: The name of the HTTP header that CloudFront uses to configure for the single header policy.
|
|
4194
|
+
:param value: Specifies the value to assign to the header for a single header policy.
|
|
4190
4195
|
|
|
4191
4196
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig.html
|
|
4192
4197
|
:exampleMetadata: fixture=_generated
|
|
@@ -4213,7 +4218,8 @@ class CfnContinuousDeploymentPolicy(
|
|
|
4213
4218
|
|
|
4214
4219
|
@builtins.property
|
|
4215
4220
|
def header(self) -> builtins.str:
|
|
4216
|
-
'''
|
|
4221
|
+
'''The name of the HTTP header that CloudFront uses to configure for the single header policy.
|
|
4222
|
+
|
|
4217
4223
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig-header
|
|
4218
4224
|
'''
|
|
4219
4225
|
result = self._values.get("header")
|
|
@@ -4222,7 +4228,8 @@ class CfnContinuousDeploymentPolicy(
|
|
|
4222
4228
|
|
|
4223
4229
|
@builtins.property
|
|
4224
4230
|
def value(self) -> builtins.str:
|
|
4225
|
-
'''
|
|
4231
|
+
'''Specifies the value to assign to the header for a single header policy.
|
|
4232
|
+
|
|
4226
4233
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleheaderpolicyconfig-value
|
|
4227
4234
|
'''
|
|
4228
4235
|
result = self._values.get("value")
|
|
@@ -4338,9 +4345,14 @@ class CfnContinuousDeploymentPolicy(
|
|
|
4338
4345
|
weight: jsii.Number,
|
|
4339
4346
|
session_stickiness_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4340
4347
|
) -> None:
|
|
4341
|
-
'''
|
|
4342
|
-
|
|
4343
|
-
|
|
4348
|
+
'''Configure a policy that CloudFront uses to route requests to different origins or use different cache settings, based on the weight assigned to each option.
|
|
4349
|
+
|
|
4350
|
+
.. epigraph::
|
|
4351
|
+
|
|
4352
|
+
This property is legacy. We recommend that you use `TrafficConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html>`_ and specify the `SingleWeightConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-trafficconfig.html#cfn-cloudfront-continuousdeploymentpolicy-trafficconfig-singleweightconfig>`_ property instead.
|
|
4353
|
+
|
|
4354
|
+
:param weight: The percentage of requests that CloudFront will use to send to an associated origin or cache settings.
|
|
4355
|
+
:param session_stickiness_config: Enable session stickiness for the associated origin or cache settings.
|
|
4344
4356
|
|
|
4345
4357
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig.html
|
|
4346
4358
|
:exampleMetadata: fixture=_generated
|
|
@@ -4373,7 +4385,8 @@ class CfnContinuousDeploymentPolicy(
|
|
|
4373
4385
|
|
|
4374
4386
|
@builtins.property
|
|
4375
4387
|
def weight(self) -> jsii.Number:
|
|
4376
|
-
'''
|
|
4388
|
+
'''The percentage of requests that CloudFront will use to send to an associated origin or cache settings.
|
|
4389
|
+
|
|
4377
4390
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig-weight
|
|
4378
4391
|
'''
|
|
4379
4392
|
result = self._values.get("weight")
|
|
@@ -4384,7 +4397,8 @@ class CfnContinuousDeploymentPolicy(
|
|
|
4384
4397
|
def session_stickiness_config(
|
|
4385
4398
|
self,
|
|
4386
4399
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnContinuousDeploymentPolicy.SessionStickinessConfigProperty"]]:
|
|
4387
|
-
'''
|
|
4400
|
+
'''Enable session stickiness for the associated origin or cache settings.
|
|
4401
|
+
|
|
4388
4402
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig.html#cfn-cloudfront-continuousdeploymentpolicy-singleweightpolicyconfig-sessionstickinessconfig
|
|
4389
4403
|
'''
|
|
4390
4404
|
result = self._values.get("session_stickiness_config")
|
|
@@ -6183,11 +6197,11 @@ class CfnDistribution(
|
|
|
6183
6197
|
:param enabled: From this field, you can enable or disable the selected distribution.
|
|
6184
6198
|
:param aliases: A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
|
|
6185
6199
|
:param cache_behaviors: A complex type that contains zero or more ``CacheBehavior`` elements.
|
|
6186
|
-
:param cnam_es:
|
|
6200
|
+
:param cnam_es: An alias for the CloudFront distribution's domain name. .. epigraph:: This property is legacy. We recommend that you use `Aliases <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-aliases>`_ instead.
|
|
6187
6201
|
:param comment: A comment to describe the distribution. The comment cannot be longer than 128 characters. Default: - ""
|
|
6188
6202
|
:param continuous_deployment_policy_id: The identifier of a continuous deployment policy. For more information, see ``CreateContinuousDeploymentPolicy`` .
|
|
6189
6203
|
:param custom_error_responses: A complex type that controls the following:. - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. For more information about custom error pages, see `Customizing Error Responses <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html>`_ in the *Amazon CloudFront Developer Guide* .
|
|
6190
|
-
:param custom_origin:
|
|
6204
|
+
:param custom_origin: The user-defined HTTP server that serves as the origin for content that CloudFront distributes. .. epigraph:: This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
|
|
6191
6205
|
:param default_root_object: The object that you want CloudFront to request from your origin (for example, ``index.html`` ) when a viewer requests the root URL for your distribution ( ``https://www.example.com`` ) instead of an object in your distribution ( ``https://www.example.com/product-description.html`` ). Specifying a default root object avoids exposing the contents of your distribution. Specify only the object name, for example, ``index.html`` . Don't add a ``/`` before the object name. If you don't want to specify a default root object when you create a distribution, include an empty ``DefaultRootObject`` element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty ``DefaultRootObject`` element. To replace the default root object, update the distribution configuration and specify the new object. For more information about the default root object, see `Creating a Default Root Object <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html>`_ in the *Amazon CloudFront Developer Guide* . Default: - ""
|
|
6192
6206
|
:param http_version: (Optional) Specify the HTTP version(s) that you want viewers to use to communicate with CloudFront . The default value for new distributions is ``http1.1`` . For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI). For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see `Connection Migration <https://docs.aws.amazon.com/https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration>`_ at RFC 9000. For more information about supported TLSv1.3 ciphers, see `Supported protocols and ciphers between viewers and CloudFront <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html>`_ . Default: - "http1.1"
|
|
6193
6207
|
:param ipv6_enabled: If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify ``true`` . If you specify ``false`` , CloudFront responds to IPv6 DNS requests with the DNS response code ``NOERROR`` and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution. In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the ``IpAddress`` parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see `Creating a Signed URL Using a Custom Policy <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html>`_ in the *Amazon CloudFront Developer Guide* . If you're using an Amazon Route 53 AWS Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true: - You enable IPv6 for the distribution - You're using alternate domain names in the URLs for your objects For more information, see `Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html>`_ in the *Amazon Route 53 AWS Integration Developer Guide* . If you created a CNAME resource record set, either with Amazon Route 53 AWS Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.
|
|
@@ -6196,7 +6210,7 @@ class CfnDistribution(
|
|
|
6196
6210
|
:param origins: A complex type that contains information about origins for this distribution. Specify a value for either the ``Origins`` or ``OriginGroups`` property.
|
|
6197
6211
|
:param price_class: The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify ``PriceClass_All`` , CloudFront responds to requests for your objects from all CloudFront edge locations. If you specify a price class other than ``PriceClass_All`` , CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance. For more information about price classes, see `Choosing the Price Class for a CloudFront Distribution <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html>`_ in the *Amazon CloudFront Developer Guide* . For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see `Amazon CloudFront Pricing <https://docs.aws.amazon.com/cloudfront/pricing/>`_ . Default: - "PriceClass_All"
|
|
6198
6212
|
:param restrictions: A complex type that identifies ways in which you want to restrict distribution of your content.
|
|
6199
|
-
:param s3_origin:
|
|
6213
|
+
:param s3_origin: The origin as an Amazon S3 bucket. .. epigraph:: This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
|
|
6200
6214
|
:param staging: A Boolean that indicates whether this is a staging distribution. When this value is ``true`` , this is a staging distribution. When this value is ``false`` , this is not a staging distribution.
|
|
6201
6215
|
:param viewer_certificate: A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
|
|
6202
6216
|
:param web_acl_id: A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of AWS WAF , use the ACL ARN, for example ``arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`` . To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example ``a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`` . AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about AWS WAF , see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html>`_ . Default: - ""
|
|
@@ -6519,7 +6533,12 @@ class CfnDistribution(
|
|
|
6519
6533
|
|
|
6520
6534
|
@builtins.property
|
|
6521
6535
|
def cnam_es(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6522
|
-
'''
|
|
6536
|
+
'''An alias for the CloudFront distribution's domain name.
|
|
6537
|
+
|
|
6538
|
+
.. epigraph::
|
|
6539
|
+
|
|
6540
|
+
This property is legacy. We recommend that you use `Aliases <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-aliases>`_ instead.
|
|
6541
|
+
|
|
6523
6542
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-cnames
|
|
6524
6543
|
'''
|
|
6525
6544
|
result = self._values.get("cnam_es")
|
|
@@ -6569,7 +6588,12 @@ class CfnDistribution(
|
|
|
6569
6588
|
def custom_origin(
|
|
6570
6589
|
self,
|
|
6571
6590
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDistribution.LegacyCustomOriginProperty"]]:
|
|
6572
|
-
'''
|
|
6591
|
+
'''The user-defined HTTP server that serves as the origin for content that CloudFront distributes.
|
|
6592
|
+
|
|
6593
|
+
.. epigraph::
|
|
6594
|
+
|
|
6595
|
+
This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
|
|
6596
|
+
|
|
6573
6597
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-customorigin
|
|
6574
6598
|
'''
|
|
6575
6599
|
result = self._values.get("custom_origin")
|
|
@@ -6708,7 +6732,12 @@ class CfnDistribution(
|
|
|
6708
6732
|
def s3_origin(
|
|
6709
6733
|
self,
|
|
6710
6734
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDistribution.LegacyS3OriginProperty"]]:
|
|
6711
|
-
'''
|
|
6735
|
+
'''The origin as an Amazon S3 bucket.
|
|
6736
|
+
|
|
6737
|
+
.. epigraph::
|
|
6738
|
+
|
|
6739
|
+
This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
|
|
6740
|
+
|
|
6712
6741
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-s3origin
|
|
6713
6742
|
'''
|
|
6714
6743
|
result = self._values.get("s3_origin")
|
|
@@ -7207,12 +7236,18 @@ class CfnDistribution(
|
|
|
7207
7236
|
http_port: typing.Optional[jsii.Number] = None,
|
|
7208
7237
|
https_port: typing.Optional[jsii.Number] = None,
|
|
7209
7238
|
) -> None:
|
|
7210
|
-
'''
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7239
|
+
'''A custom origin.
|
|
7240
|
+
|
|
7241
|
+
A custom origin is any origin that is *not* an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is `configured with static website hosting <https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html>`_ *is* a custom origin.
|
|
7242
|
+
.. epigraph::
|
|
7243
|
+
|
|
7244
|
+
This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
|
|
7245
|
+
|
|
7246
|
+
:param dns_name: The domain name assigned to your CloudFront distribution.
|
|
7247
|
+
:param origin_protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
|
|
7248
|
+
:param origin_ssl_protocols: The minimum SSL/TLS protocol version that CloudFront uses when communicating with your origin server over HTTPs. For more information, see `Minimum Origin SSL Protocol <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginSSLProtocols>`_ in the *Amazon CloudFront Developer Guide* .
|
|
7249
|
+
:param http_port: The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on. Default: - 80
|
|
7250
|
+
:param https_port: The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on. Default: - 443
|
|
7216
7251
|
|
|
7217
7252
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html
|
|
7218
7253
|
:exampleMetadata: fixture=_generated
|
|
@@ -7252,7 +7287,8 @@ class CfnDistribution(
|
|
|
7252
7287
|
|
|
7253
7288
|
@builtins.property
|
|
7254
7289
|
def dns_name(self) -> builtins.str:
|
|
7255
|
-
'''
|
|
7290
|
+
'''The domain name assigned to your CloudFront distribution.
|
|
7291
|
+
|
|
7256
7292
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-dnsname
|
|
7257
7293
|
'''
|
|
7258
7294
|
result = self._values.get("dns_name")
|
|
@@ -7261,7 +7297,8 @@ class CfnDistribution(
|
|
|
7261
7297
|
|
|
7262
7298
|
@builtins.property
|
|
7263
7299
|
def origin_protocol_policy(self) -> builtins.str:
|
|
7264
|
-
'''
|
|
7300
|
+
'''Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
|
|
7301
|
+
|
|
7265
7302
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-originprotocolpolicy
|
|
7266
7303
|
'''
|
|
7267
7304
|
result = self._values.get("origin_protocol_policy")
|
|
@@ -7270,7 +7307,10 @@ class CfnDistribution(
|
|
|
7270
7307
|
|
|
7271
7308
|
@builtins.property
|
|
7272
7309
|
def origin_ssl_protocols(self) -> typing.List[builtins.str]:
|
|
7273
|
-
'''
|
|
7310
|
+
'''The minimum SSL/TLS protocol version that CloudFront uses when communicating with your origin server over HTTPs.
|
|
7311
|
+
|
|
7312
|
+
For more information, see `Minimum Origin SSL Protocol <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginSSLProtocols>`_ in the *Amazon CloudFront Developer Guide* .
|
|
7313
|
+
|
|
7274
7314
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-originsslprotocols
|
|
7275
7315
|
'''
|
|
7276
7316
|
result = self._values.get("origin_ssl_protocols")
|
|
@@ -7279,7 +7319,10 @@ class CfnDistribution(
|
|
|
7279
7319
|
|
|
7280
7320
|
@builtins.property
|
|
7281
7321
|
def http_port(self) -> typing.Optional[jsii.Number]:
|
|
7282
|
-
'''
|
|
7322
|
+
'''The HTTP port that CloudFront uses to connect to the origin.
|
|
7323
|
+
|
|
7324
|
+
Specify the HTTP port that the origin listens on.
|
|
7325
|
+
|
|
7283
7326
|
:default: - 80
|
|
7284
7327
|
|
|
7285
7328
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-httpport
|
|
@@ -7289,7 +7332,10 @@ class CfnDistribution(
|
|
|
7289
7332
|
|
|
7290
7333
|
@builtins.property
|
|
7291
7334
|
def https_port(self) -> typing.Optional[jsii.Number]:
|
|
7292
|
-
'''
|
|
7335
|
+
'''The HTTPS port that CloudFront uses to connect to the origin.
|
|
7336
|
+
|
|
7337
|
+
Specify the HTTPS port that the origin listens on.
|
|
7338
|
+
|
|
7293
7339
|
:default: - 443
|
|
7294
7340
|
|
|
7295
7341
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-httpsport
|
|
@@ -7323,9 +7369,14 @@ class CfnDistribution(
|
|
|
7323
7369
|
dns_name: builtins.str,
|
|
7324
7370
|
origin_access_identity: typing.Optional[builtins.str] = None,
|
|
7325
7371
|
) -> None:
|
|
7326
|
-
'''
|
|
7327
|
-
|
|
7328
|
-
|
|
7372
|
+
'''The origin as an Amazon S3 bucket.
|
|
7373
|
+
|
|
7374
|
+
.. epigraph::
|
|
7375
|
+
|
|
7376
|
+
This property is legacy. We recommend that you use `Origin <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`_ instead.
|
|
7377
|
+
|
|
7378
|
+
:param dns_name: The domain name assigned to your CloudFront distribution.
|
|
7379
|
+
:param origin_access_identity: The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 through CloudFront . .. epigraph:: This property is legacy. We recommend that you use `OriginAccessControl <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originaccesscontrol.html>`_ instead. Default: - ""
|
|
7329
7380
|
|
|
7330
7381
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html
|
|
7331
7382
|
:exampleMetadata: fixture=_generated
|
|
@@ -7355,7 +7406,8 @@ class CfnDistribution(
|
|
|
7355
7406
|
|
|
7356
7407
|
@builtins.property
|
|
7357
7408
|
def dns_name(self) -> builtins.str:
|
|
7358
|
-
'''
|
|
7409
|
+
'''The domain name assigned to your CloudFront distribution.
|
|
7410
|
+
|
|
7359
7411
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html#cfn-cloudfront-distribution-legacys3origin-dnsname
|
|
7360
7412
|
'''
|
|
7361
7413
|
result = self._values.get("dns_name")
|
|
@@ -7364,7 +7416,13 @@ class CfnDistribution(
|
|
|
7364
7416
|
|
|
7365
7417
|
@builtins.property
|
|
7366
7418
|
def origin_access_identity(self) -> typing.Optional[builtins.str]:
|
|
7367
|
-
'''
|
|
7419
|
+
'''The CloudFront origin access identity to associate with the distribution.
|
|
7420
|
+
|
|
7421
|
+
Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 through CloudFront .
|
|
7422
|
+
.. epigraph::
|
|
7423
|
+
|
|
7424
|
+
This property is legacy. We recommend that you use `OriginAccessControl <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originaccesscontrol.html>`_ instead.
|
|
7425
|
+
|
|
7368
7426
|
:default: - ""
|
|
7369
7427
|
|
|
7370
7428
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html#cfn-cloudfront-distribution-legacys3origin-originaccessidentity
|
|
@@ -22709,6 +22767,18 @@ class CachePolicy(
|
|
|
22709
22767
|
'''Designed for use with an origin that is an AWS Elemental MediaPackage endpoint.'''
|
|
22710
22768
|
return typing.cast(ICachePolicy, jsii.sget(cls, "ELEMENTAL_MEDIA_PACKAGE"))
|
|
22711
22769
|
|
|
22770
|
+
@jsii.python.classproperty
|
|
22771
|
+
@jsii.member(jsii_name="USE_ORIGIN_CACHE_CONTROL_HEADERS")
|
|
22772
|
+
def USE_ORIGIN_CACHE_CONTROL_HEADERS(cls) -> ICachePolicy:
|
|
22773
|
+
'''Designed for use with an origin that returns Cache-Control HTTP response headers and does not serve different content based on values present in the query string.'''
|
|
22774
|
+
return typing.cast(ICachePolicy, jsii.sget(cls, "USE_ORIGIN_CACHE_CONTROL_HEADERS"))
|
|
22775
|
+
|
|
22776
|
+
@jsii.python.classproperty
|
|
22777
|
+
@jsii.member(jsii_name="USE_ORIGIN_CACHE_CONTROL_HEADERS_QUERY_STRINGS")
|
|
22778
|
+
def USE_ORIGIN_CACHE_CONTROL_HEADERS_QUERY_STRINGS(cls) -> ICachePolicy:
|
|
22779
|
+
'''Designed for use with an origin that returns Cache-Control HTTP response headers and serves different content based on values present in the query string.'''
|
|
22780
|
+
return typing.cast(ICachePolicy, jsii.sget(cls, "USE_ORIGIN_CACHE_CONTROL_HEADERS_QUERY_STRINGS"))
|
|
22781
|
+
|
|
22712
22782
|
@builtins.property
|
|
22713
22783
|
@jsii.member(jsii_name="cachePolicyId")
|
|
22714
22784
|
def cache_policy_id(self) -> builtins.str:
|
|
@@ -1248,7 +1248,7 @@ class CfnEventDataStore(
|
|
|
1248
1248
|
) -> None:
|
|
1249
1249
|
'''A single selector statement in an advanced event selector.
|
|
1250
1250
|
|
|
1251
|
-
:param field: A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the field is used only for selecting events as filtering is not supported. For CloudTrail management events, supported fields include ``readOnly`` , ``eventCategory`` , and ``eventSource`` . For CloudTrail data events, supported fields include ``readOnly`` , ``eventCategory`` , ``eventName`` , ``resources.type`` , and ``resources.ARN`` . For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the only supported field is ``eventCategory`` . - *``readOnly``* - Optional. Can be set to ``Equals`` a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events. - *``eventSource``* - For filtering management events only. This can be set to ``NotEquals`` ``kms.amazonaws.com`` or ``NotEquals`` ``rdsdata.amazonaws.com`` . - *``eventName``* - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as ``PutBucket`` or ``GetSnapshotBlock`` . You can have multiple values for this field, separated by commas. - *``eventCategory``* - This is required and must be set to ``Equals`` . - For CloudTrail management events, the value must be ``Management`` . - For CloudTrail data events, the value must be ``Data`` . The following are used only for event data stores: - For CloudTrail Insights events, the value must be ``Insight`` . - For AWS Config configuration items, the value must be ``ConfigurationItem`` . - For Audit Manager evidence, the value must be ``Evidence`` . - For non- AWS events, the value must be ``ActivityAuditLog`` . - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator, and the value can be one of the following: - ``AWS::AppConfig::Configuration`` - ``AWS::B2BI::Transformer`` - ``AWS::Bedrock::AgentAlias`` - ``AWS::Bedrock::FlowAlias`` - ``AWS::Bedrock::Guardrail`` - ``AWS::Bedrock::KnowledgeBase`` - ``AWS::Cassandra::Table`` - ``AWS::CloudFront::KeyValueStore`` - ``AWS::CloudTrail::Channel`` - ``AWS::CloudWatch::Metric`` - ``AWS::CodeWhisperer::Customization`` - ``AWS::CodeWhisperer::Profile`` - ``AWS::Cognito::IdentityPool`` - ``AWS::DynamoDB::Stream`` - ``AWS::DynamoDB::Table`` - ``AWS::EC2::Snapshot`` - ``AWS::EMRWAL::Workspace`` - ``AWS::FinSpace::Environment`` - ``AWS::Glue::Table`` - ``AWS::GreengrassV2::ComponentVersion`` - ``AWS::GreengrassV2::Deployment`` - ``AWS::GuardDuty::Detector`` - ``AWS::IoT::Certificate`` - ``AWS::IoT::Thing`` - ``AWS::IoTSiteWise::Asset`` - ``AWS::IoTSiteWise::TimeSeries`` - ``AWS::IoTTwinMaker::Entity`` - ``AWS::IoTTwinMaker::Workspace`` - ``AWS::KendraRanking::ExecutionPlan`` - ``AWS::Kinesis::Stream`` - ``AWS::Kinesis::StreamConsumer`` - ``AWS::KinesisVideo::Stream`` - ``AWS::Lambda::Function`` - ``AWS::MachineLearning::MlModel`` - ``AWS::ManagedBlockchain::Network`` - ``AWS::ManagedBlockchain::Node`` - ``AWS::MedicalImaging::Datastore`` - ``AWS::NeptuneGraph::Graph`` - ``AWS::PaymentCryptography::Alias`` - ``AWS::PaymentCryptography::Key`` - ``AWS::PCAConnectorAD::Connector`` - ``AWS::PCAConnectorSCEP::Connector`` - ``AWS::QApps:QApp`` - ``AWS::QBusiness::Application`` - ``AWS::QBusiness::DataSource`` - ``AWS::QBusiness::Index`` - ``AWS::QBusiness::WebExperience`` - ``AWS::RDS::DBCluster`` - ``AWS::S3::AccessPoint`` - ``AWS::S3::Object`` - ``AWS::S3Express::Object`` - ``AWS::S3ObjectLambda::AccessPoint`` - ``AWS::S3Outposts::Object`` - ``AWS::SageMaker::Endpoint`` - ``AWS::SageMaker::ExperimentTrialComponent`` - ``AWS::SageMaker::FeatureGroup`` - ``AWS::ServiceDiscovery::Namespace`` - ``AWS::ServiceDiscovery::Service`` - ``AWS::SCN::Instance`` - ``AWS::SNS::PlatformEndpoint`` - ``AWS::SNS::Topic`` - ``AWS::SQS::Queue`` - ``AWS::SSM::ManagedNode`` - ``AWS::SSMMessages::ControlChannel`` - ``AWS::StepFunctions::StateMachine`` - ``AWS::SWF::Domain`` - ``AWS::ThinClient::Device`` - ``AWS::ThinClient::Environment`` - ``AWS::Timestream::Database`` - ``AWS::Timestream::Table`` - ``AWS::VerifiedPermissions::PolicyStore`` - ``AWS::XRay::Trace`` You can have only one ``resources.type`` field per selector. To log data events on more than one resource type, add another selector. - *``resources.ARN``* - You can use any operator with ``resources.ARN`` , but if you use ``Equals`` or ``NotEquals`` , the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. To log all data events for all objects in a specific S3 bucket, use the ``StartsWith`` operator, and include only the bucket ARN as the matching value. For information about filtering on the ``resources.ARN`` field, see `Filtering data events by resources.ARN <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/filtering-data-events.html#filtering-data-events-resourcearn>`_ in the *AWS CloudTrail User Guide* . .. epigraph:: You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs.
|
|
1251
|
+
:param field: A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the field is used only for selecting events as filtering is not supported. For CloudTrail management events, supported fields include ``readOnly`` , ``eventCategory`` , and ``eventSource`` . For CloudTrail data events, supported fields include ``readOnly`` , ``eventCategory`` , ``eventName`` , ``resources.type`` , and ``resources.ARN`` . For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the only supported field is ``eventCategory`` . - *``readOnly``* - Optional. Can be set to ``Equals`` a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events. - *``eventSource``* - For filtering management events only. This can be set to ``NotEquals`` ``kms.amazonaws.com`` or ``NotEquals`` ``rdsdata.amazonaws.com`` . - *``eventName``* - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as ``PutBucket`` or ``GetSnapshotBlock`` . You can have multiple values for this field, separated by commas. - *``eventCategory``* - This is required and must be set to ``Equals`` . - For CloudTrail management events, the value must be ``Management`` . - For CloudTrail data events, the value must be ``Data`` . The following are used only for event data stores: - For CloudTrail Insights events, the value must be ``Insight`` . - For AWS Config configuration items, the value must be ``ConfigurationItem`` . - For Audit Manager evidence, the value must be ``Evidence`` . - For non- AWS events, the value must be ``ActivityAuditLog`` . - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator, and the value can be one of the following: - ``AWS::AppConfig::Configuration`` - ``AWS::B2BI::Transformer`` - ``AWS::Bedrock::AgentAlias`` - ``AWS::Bedrock::FlowAlias`` - ``AWS::Bedrock::Guardrail`` - ``AWS::Bedrock::KnowledgeBase`` - ``AWS::Cassandra::Table`` - ``AWS::CloudFront::KeyValueStore`` - ``AWS::CloudTrail::Channel`` - ``AWS::CloudWatch::Metric`` - ``AWS::CodeWhisperer::Customization`` - ``AWS::CodeWhisperer::Profile`` - ``AWS::Cognito::IdentityPool`` - ``AWS::DynamoDB::Stream`` - ``AWS::DynamoDB::Table`` - ``AWS::EC2::Snapshot`` - ``AWS::EMRWAL::Workspace`` - ``AWS::FinSpace::Environment`` - ``AWS::Glue::Table`` - ``AWS::GreengrassV2::ComponentVersion`` - ``AWS::GreengrassV2::Deployment`` - ``AWS::GuardDuty::Detector`` - ``AWS::IoT::Certificate`` - ``AWS::IoT::Thing`` - ``AWS::IoTSiteWise::Asset`` - ``AWS::IoTSiteWise::TimeSeries`` - ``AWS::IoTTwinMaker::Entity`` - ``AWS::IoTTwinMaker::Workspace`` - ``AWS::KendraRanking::ExecutionPlan`` - ``AWS::Kinesis::Stream`` - ``AWS::Kinesis::StreamConsumer`` - ``AWS::KinesisVideo::Stream`` - ``AWS::Lambda::Function`` - ``AWS::MachineLearning::MlModel`` - ``AWS::ManagedBlockchain::Network`` - ``AWS::ManagedBlockchain::Node`` - ``AWS::MedicalImaging::Datastore`` - ``AWS::NeptuneGraph::Graph`` - ``AWS::One::UKey`` - ``AWS::One::User`` - ``AWS::PaymentCryptography::Alias`` - ``AWS::PaymentCryptography::Key`` - ``AWS::PCAConnectorAD::Connector`` - ``AWS::PCAConnectorSCEP::Connector`` - ``AWS::QApps:QApp`` - ``AWS::QBusiness::Application`` - ``AWS::QBusiness::DataSource`` - ``AWS::QBusiness::Index`` - ``AWS::QBusiness::WebExperience`` - ``AWS::RDS::DBCluster`` - ``AWS::S3::AccessPoint`` - ``AWS::S3::Object`` - ``AWS::S3Express::Object`` - ``AWS::S3ObjectLambda::AccessPoint`` - ``AWS::S3Outposts::Object`` - ``AWS::SageMaker::Endpoint`` - ``AWS::SageMaker::ExperimentTrialComponent`` - ``AWS::SageMaker::FeatureGroup`` - ``AWS::ServiceDiscovery::Namespace`` - ``AWS::ServiceDiscovery::Service`` - ``AWS::SCN::Instance`` - ``AWS::SNS::PlatformEndpoint`` - ``AWS::SNS::Topic`` - ``AWS::SQS::Queue`` - ``AWS::SSM::ManagedNode`` - ``AWS::SSMMessages::ControlChannel`` - ``AWS::StepFunctions::StateMachine`` - ``AWS::SWF::Domain`` - ``AWS::ThinClient::Device`` - ``AWS::ThinClient::Environment`` - ``AWS::Timestream::Database`` - ``AWS::Timestream::Table`` - ``AWS::VerifiedPermissions::PolicyStore`` - ``AWS::XRay::Trace`` You can have only one ``resources.type`` field per selector. To log data events on more than one resource type, add another selector. - *``resources.ARN``* - You can use any operator with ``resources.ARN`` , but if you use ``Equals`` or ``NotEquals`` , the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. To log all data events for all objects in a specific S3 bucket, use the ``StartsWith`` operator, and include only the bucket ARN as the matching value. For information about filtering on the ``resources.ARN`` field, see `Filtering data events by resources.ARN <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/filtering-data-events.html#filtering-data-events-resourcearn>`_ in the *AWS CloudTrail User Guide* . .. epigraph:: You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs.
|
|
1252
1252
|
:param ends_with: An operator that includes events that match the last few characters of the event record field specified as the value of ``Field`` .
|
|
1253
1253
|
:param equal_to: An operator that includes events that match the exact value of the event record field specified as the value of ``Field`` . This is the only valid operator that you can use with the ``readOnly`` , ``eventCategory`` , and ``resources.type`` fields.
|
|
1254
1254
|
:param not_ends_with: An operator that excludes events that match the last few characters of the event record field specified as the value of ``Field`` .
|
|
@@ -1366,6 +1366,8 @@ class CfnEventDataStore(
|
|
|
1366
1366
|
- ``AWS::ManagedBlockchain::Node``
|
|
1367
1367
|
- ``AWS::MedicalImaging::Datastore``
|
|
1368
1368
|
- ``AWS::NeptuneGraph::Graph``
|
|
1369
|
+
- ``AWS::One::UKey``
|
|
1370
|
+
- ``AWS::One::User``
|
|
1369
1371
|
- ``AWS::PaymentCryptography::Alias``
|
|
1370
1372
|
- ``AWS::PaymentCryptography::Key``
|
|
1371
1373
|
- ``AWS::PCAConnectorAD::Connector``
|
|
@@ -2675,7 +2677,7 @@ class CfnTrail(
|
|
|
2675
2677
|
) -> None:
|
|
2676
2678
|
'''A single selector statement in an advanced event selector.
|
|
2677
2679
|
|
|
2678
|
-
:param field: A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the field is used only for selecting events as filtering is not supported. For CloudTrail management events, supported fields include ``readOnly`` , ``eventCategory`` , and ``eventSource`` . For CloudTrail data events, supported fields include ``readOnly`` , ``eventCategory`` , ``eventName`` , ``resources.type`` , and ``resources.ARN`` . For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the only supported field is ``eventCategory`` . - *``readOnly``* - Optional. Can be set to ``Equals`` a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events. - *``eventSource``* - For filtering management events only. This can be set to ``NotEquals`` ``kms.amazonaws.com`` or ``NotEquals`` ``rdsdata.amazonaws.com`` . - *``eventName``* - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as ``PutBucket`` or ``GetSnapshotBlock`` . You can have multiple values for this field, separated by commas. - *``eventCategory``* - This is required and must be set to ``Equals`` . - For CloudTrail management events, the value must be ``Management`` . - For CloudTrail data events, the value must be ``Data`` . The following are used only for event data stores: - For CloudTrail Insights events, the value must be ``Insight`` . - For AWS Config configuration items, the value must be ``ConfigurationItem`` . - For Audit Manager evidence, the value must be ``Evidence`` . - For non- AWS events, the value must be ``ActivityAuditLog`` . - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator, and the value can be one of the following: - ``AWS::AppConfig::Configuration`` - ``AWS::B2BI::Transformer`` - ``AWS::Bedrock::AgentAlias`` - ``AWS::Bedrock::FlowAlias`` - ``AWS::Bedrock::Guardrail`` - ``AWS::Bedrock::KnowledgeBase`` - ``AWS::Cassandra::Table`` - ``AWS::CloudFront::KeyValueStore`` - ``AWS::CloudTrail::Channel`` - ``AWS::CloudWatch::Metric`` - ``AWS::CodeWhisperer::Customization`` - ``AWS::CodeWhisperer::Profile`` - ``AWS::Cognito::IdentityPool`` - ``AWS::DynamoDB::Stream`` - ``AWS::DynamoDB::Table`` - ``AWS::EC2::Snapshot`` - ``AWS::EMRWAL::Workspace`` - ``AWS::FinSpace::Environment`` - ``AWS::Glue::Table`` - ``AWS::GreengrassV2::ComponentVersion`` - ``AWS::GreengrassV2::Deployment`` - ``AWS::GuardDuty::Detector`` - ``AWS::IoT::Certificate`` - ``AWS::IoT::Thing`` - ``AWS::IoTSiteWise::Asset`` - ``AWS::IoTSiteWise::TimeSeries`` - ``AWS::IoTTwinMaker::Entity`` - ``AWS::IoTTwinMaker::Workspace`` - ``AWS::KendraRanking::ExecutionPlan`` - ``AWS::Kinesis::Stream`` - ``AWS::Kinesis::StreamConsumer`` - ``AWS::KinesisVideo::Stream`` - ``AWS::Lambda::Function`` - ``AWS::MachineLearning::MlModel`` - ``AWS::ManagedBlockchain::Network`` - ``AWS::ManagedBlockchain::Node`` - ``AWS::MedicalImaging::Datastore`` - ``AWS::NeptuneGraph::Graph`` - ``AWS::PaymentCryptography::Alias`` - ``AWS::PaymentCryptography::Key`` - ``AWS::PCAConnectorAD::Connector`` - ``AWS::PCAConnectorSCEP::Connector`` - ``AWS::QApps:QApp`` - ``AWS::QBusiness::Application`` - ``AWS::QBusiness::DataSource`` - ``AWS::QBusiness::Index`` - ``AWS::QBusiness::WebExperience`` - ``AWS::RDS::DBCluster`` - ``AWS::S3::AccessPoint`` - ``AWS::S3::Object`` - ``AWS::S3Express::Object`` - ``AWS::S3ObjectLambda::AccessPoint`` - ``AWS::S3Outposts::Object`` - ``AWS::SageMaker::Endpoint`` - ``AWS::SageMaker::ExperimentTrialComponent`` - ``AWS::SageMaker::FeatureGroup`` - ``AWS::ServiceDiscovery::Namespace`` - ``AWS::ServiceDiscovery::Service`` - ``AWS::SCN::Instance`` - ``AWS::SNS::PlatformEndpoint`` - ``AWS::SNS::Topic`` - ``AWS::SQS::Queue`` - ``AWS::SSM::ManagedNode`` - ``AWS::SSMMessages::ControlChannel`` - ``AWS::StepFunctions::StateMachine`` - ``AWS::SWF::Domain`` - ``AWS::ThinClient::Device`` - ``AWS::ThinClient::Environment`` - ``AWS::Timestream::Database`` - ``AWS::Timestream::Table`` - ``AWS::VerifiedPermissions::PolicyStore`` - ``AWS::XRay::Trace`` You can have only one ``resources.type`` field per selector. To log data events on more than one resource type, add another selector. - *``resources.ARN``* - You can use any operator with ``resources.ARN`` , but if you use ``Equals`` or ``NotEquals`` , the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. To log all data events for all objects in a specific S3 bucket, use the ``StartsWith`` operator, and include only the bucket ARN as the matching value. For information about filtering on the ``resources.ARN`` field, see `Filtering data events by resources.ARN <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/filtering-data-events.html#filtering-data-events-resourcearn>`_ in the *AWS CloudTrail User Guide* . .. epigraph:: You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs.
|
|
2680
|
+
:param field: A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the field is used only for selecting events as filtering is not supported. For CloudTrail management events, supported fields include ``readOnly`` , ``eventCategory`` , and ``eventSource`` . For CloudTrail data events, supported fields include ``readOnly`` , ``eventCategory`` , ``eventName`` , ``resources.type`` , and ``resources.ARN`` . For event data stores for CloudTrail Insights events, AWS Config configuration items, Audit Manager evidence, or events outside of AWS , the only supported field is ``eventCategory`` . - *``readOnly``* - Optional. Can be set to ``Equals`` a value of ``true`` or ``false`` . If you do not add this field, CloudTrail logs both ``read`` and ``write`` events. A value of ``true`` logs only ``read`` events. A value of ``false`` logs only ``write`` events. - *``eventSource``* - For filtering management events only. This can be set to ``NotEquals`` ``kms.amazonaws.com`` or ``NotEquals`` ``rdsdata.amazonaws.com`` . - *``eventName``* - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as ``PutBucket`` or ``GetSnapshotBlock`` . You can have multiple values for this field, separated by commas. - *``eventCategory``* - This is required and must be set to ``Equals`` . - For CloudTrail management events, the value must be ``Management`` . - For CloudTrail data events, the value must be ``Data`` . The following are used only for event data stores: - For CloudTrail Insights events, the value must be ``Insight`` . - For AWS Config configuration items, the value must be ``ConfigurationItem`` . - For Audit Manager evidence, the value must be ``Evidence`` . - For non- AWS events, the value must be ``ActivityAuditLog`` . - *``resources.type``* - This field is required for CloudTrail data events. ``resources.type`` can only use the ``Equals`` operator, and the value can be one of the following: - ``AWS::AppConfig::Configuration`` - ``AWS::B2BI::Transformer`` - ``AWS::Bedrock::AgentAlias`` - ``AWS::Bedrock::FlowAlias`` - ``AWS::Bedrock::Guardrail`` - ``AWS::Bedrock::KnowledgeBase`` - ``AWS::Cassandra::Table`` - ``AWS::CloudFront::KeyValueStore`` - ``AWS::CloudTrail::Channel`` - ``AWS::CloudWatch::Metric`` - ``AWS::CodeWhisperer::Customization`` - ``AWS::CodeWhisperer::Profile`` - ``AWS::Cognito::IdentityPool`` - ``AWS::DynamoDB::Stream`` - ``AWS::DynamoDB::Table`` - ``AWS::EC2::Snapshot`` - ``AWS::EMRWAL::Workspace`` - ``AWS::FinSpace::Environment`` - ``AWS::Glue::Table`` - ``AWS::GreengrassV2::ComponentVersion`` - ``AWS::GreengrassV2::Deployment`` - ``AWS::GuardDuty::Detector`` - ``AWS::IoT::Certificate`` - ``AWS::IoT::Thing`` - ``AWS::IoTSiteWise::Asset`` - ``AWS::IoTSiteWise::TimeSeries`` - ``AWS::IoTTwinMaker::Entity`` - ``AWS::IoTTwinMaker::Workspace`` - ``AWS::KendraRanking::ExecutionPlan`` - ``AWS::Kinesis::Stream`` - ``AWS::Kinesis::StreamConsumer`` - ``AWS::KinesisVideo::Stream`` - ``AWS::Lambda::Function`` - ``AWS::MachineLearning::MlModel`` - ``AWS::ManagedBlockchain::Network`` - ``AWS::ManagedBlockchain::Node`` - ``AWS::MedicalImaging::Datastore`` - ``AWS::NeptuneGraph::Graph`` - ``AWS::One::UKey`` - ``AWS::One::User`` - ``AWS::PaymentCryptography::Alias`` - ``AWS::PaymentCryptography::Key`` - ``AWS::PCAConnectorAD::Connector`` - ``AWS::PCAConnectorSCEP::Connector`` - ``AWS::QApps:QApp`` - ``AWS::QBusiness::Application`` - ``AWS::QBusiness::DataSource`` - ``AWS::QBusiness::Index`` - ``AWS::QBusiness::WebExperience`` - ``AWS::RDS::DBCluster`` - ``AWS::S3::AccessPoint`` - ``AWS::S3::Object`` - ``AWS::S3Express::Object`` - ``AWS::S3ObjectLambda::AccessPoint`` - ``AWS::S3Outposts::Object`` - ``AWS::SageMaker::Endpoint`` - ``AWS::SageMaker::ExperimentTrialComponent`` - ``AWS::SageMaker::FeatureGroup`` - ``AWS::ServiceDiscovery::Namespace`` - ``AWS::ServiceDiscovery::Service`` - ``AWS::SCN::Instance`` - ``AWS::SNS::PlatformEndpoint`` - ``AWS::SNS::Topic`` - ``AWS::SQS::Queue`` - ``AWS::SSM::ManagedNode`` - ``AWS::SSMMessages::ControlChannel`` - ``AWS::StepFunctions::StateMachine`` - ``AWS::SWF::Domain`` - ``AWS::ThinClient::Device`` - ``AWS::ThinClient::Environment`` - ``AWS::Timestream::Database`` - ``AWS::Timestream::Table`` - ``AWS::VerifiedPermissions::PolicyStore`` - ``AWS::XRay::Trace`` You can have only one ``resources.type`` field per selector. To log data events on more than one resource type, add another selector. - *``resources.ARN``* - You can use any operator with ``resources.ARN`` , but if you use ``Equals`` or ``NotEquals`` , the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. To log all data events for all objects in a specific S3 bucket, use the ``StartsWith`` operator, and include only the bucket ARN as the matching value. For information about filtering on the ``resources.ARN`` field, see `Filtering data events by resources.ARN <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/filtering-data-events.html#filtering-data-events-resourcearn>`_ in the *AWS CloudTrail User Guide* . .. epigraph:: You can't use the ``resources.ARN`` field to filter resource types that do not have ARNs.
|
|
2679
2681
|
:param ends_with: An operator that includes events that match the last few characters of the event record field specified as the value of ``Field`` .
|
|
2680
2682
|
:param equal_to: An operator that includes events that match the exact value of the event record field specified as the value of ``Field`` . This is the only valid operator that you can use with the ``readOnly`` , ``eventCategory`` , and ``resources.type`` fields.
|
|
2681
2683
|
:param not_ends_with: An operator that excludes events that match the last few characters of the event record field specified as the value of ``Field`` .
|
|
@@ -2793,6 +2795,8 @@ class CfnTrail(
|
|
|
2793
2795
|
- ``AWS::ManagedBlockchain::Node``
|
|
2794
2796
|
- ``AWS::MedicalImaging::Datastore``
|
|
2795
2797
|
- ``AWS::NeptuneGraph::Graph``
|
|
2798
|
+
- ``AWS::One::UKey``
|
|
2799
|
+
- ``AWS::One::User``
|
|
2796
2800
|
- ``AWS::PaymentCryptography::Alias``
|
|
2797
2801
|
- ``AWS::PaymentCryptography::Key``
|
|
2798
2802
|
- ``AWS::PCAConnectorAD::Connector``
|