aws-cdk-lib 2.212.0__py3-none-any.whl → 2.214.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 +23 -3
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.212.0.jsii.tgz → aws-cdk-lib@2.214.0.jsii.tgz} +0 -0
- aws_cdk/aws_appconfig/__init__.py +18 -6
- aws_cdk/aws_appintegrations/__init__.py +4 -4
- aws_cdk/aws_apprunner/__init__.py +5 -8
- aws_cdk/aws_aps/__init__.py +243 -10
- aws_cdk/aws_b2bi/__init__.py +1015 -128
- aws_cdk/aws_batch/__init__.py +33 -11
- aws_cdk/aws_bedrock/__init__.py +22 -216
- aws_cdk/aws_budgets/__init__.py +18 -0
- aws_cdk/aws_certificatemanager/__init__.py +96 -15
- aws_cdk/aws_cloudformation/__init__.py +3 -3
- aws_cdk/aws_cloudwatch/__init__.py +80 -49
- aws_cdk/aws_cognito/__init__.py +76 -5
- aws_cdk/aws_connect/__init__.py +188 -2
- aws_cdk/aws_datazone/__init__.py +2267 -0
- aws_cdk/aws_deadline/__init__.py +6 -5
- aws_cdk/aws_dynamodb/__init__.py +418 -56
- aws_cdk/aws_ec2/__init__.py +51 -10
- aws_cdk/aws_ecs/__init__.py +288 -25
- aws_cdk/aws_ecs_patterns/__init__.py +2 -0
- aws_cdk/aws_eks/__init__.py +124 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +6 -2
- aws_cdk/aws_entityresolution/__init__.py +107 -0
- aws_cdk/aws_events/__init__.py +153 -55
- aws_cdk/aws_events_targets/__init__.py +87 -36
- aws_cdk/aws_fsx/__init__.py +62 -0
- aws_cdk/aws_gameliftstreams/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +205 -23
- aws_cdk/aws_guardduty/__init__.py +205 -100
- aws_cdk/aws_iam/__init__.py +18 -0
- aws_cdk/aws_inspectorv2/__init__.py +125 -80
- aws_cdk/aws_iot/__init__.py +37 -19
- aws_cdk/aws_iotsitewise/__init__.py +111 -75
- aws_cdk/aws_ivs/__init__.py +17 -17
- aws_cdk/aws_kinesisanalytics/__init__.py +122 -3
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +122 -3
- aws_cdk/aws_lambda/__init__.py +23 -2
- aws_cdk/aws_logs/__init__.py +20 -15
- aws_cdk/aws_mediapackagev2/__init__.py +2 -2
- aws_cdk/aws_networkfirewall/__init__.py +6 -6
- aws_cdk/aws_omics/__init__.py +477 -2
- aws_cdk/aws_qbusiness/__init__.py +4 -2
- aws_cdk/aws_rds/__init__.py +132 -4
- aws_cdk/aws_route53/__init__.py +18 -11
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3_deployment/__init__.py +45 -0
- aws_cdk/aws_sagemaker/__init__.py +653 -0
- aws_cdk/aws_servicediscovery/__init__.py +22 -37
- aws_cdk/aws_sns/__init__.py +12 -2
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
- aws_cdk/aws_sqs/__init__.py +5 -5
- aws_cdk/aws_ssm/__init__.py +8 -3
- aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
- aws_cdk/aws_synthetics/__init__.py +222 -12
- aws_cdk/aws_transfer/__init__.py +15 -2
- aws_cdk/aws_vpclattice/__init__.py +41 -0
- aws_cdk/aws_workspacesweb/__init__.py +71 -41
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/RECORD +65 -65
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -6657,7 +6657,7 @@ class CfnLambdaHookProps:
|
|
|
6657
6657
|
:param lambda_function: Specifies the Lambda function for the Hook. You can use:. - The full Amazon Resource Name (ARN) without a suffix. - A qualified ARN with a version or alias suffix.
|
|
6658
6658
|
:param target_operations: Specifies the list of operations the Hook is run against. For more information, see `Hook targets <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-concepts.html#hook-terms-hook-target>`_ in the *AWS CloudFormation Hooks User Guide* . Valid values: ``STACK`` | ``RESOURCE`` | ``CHANGE_SET`` | ``CLOUD_CONTROL``
|
|
6659
6659
|
:param stack_filters: Specifies the stack level filters for the Hook. Example stack level filter in JSON: ``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}`` Example stack level filter in YAML: ``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
6660
|
-
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "
|
|
6660
|
+
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "CREATE", "UPDATE", "DELETE" ]}`` Example target filter in YAML: ``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
6661
6661
|
|
|
6662
6662
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html
|
|
6663
6663
|
:exampleMetadata: fixture=_generated
|
|
@@ -6828,7 +6828,7 @@ class CfnLambdaHookProps:
|
|
|
6828
6828
|
|
|
6829
6829
|
Example target filter in JSON:
|
|
6830
6830
|
|
|
6831
|
-
``"TargetFilters": {"Actions": [ "
|
|
6831
|
+
``"TargetFilters": {"Actions": [ "CREATE", "UPDATE", "DELETE" ]}``
|
|
6832
6832
|
|
|
6833
6833
|
Example target filter in YAML:
|
|
6834
6834
|
|
|
@@ -12428,6 +12428,7 @@ class DefaultStackSynthesizerProps:
|
|
|
12428
12428
|
"cache_from": "cacheFrom",
|
|
12429
12429
|
"cache_to": "cacheTo",
|
|
12430
12430
|
"file": "file",
|
|
12431
|
+
"network": "network",
|
|
12431
12432
|
"platform": "platform",
|
|
12432
12433
|
"target_stage": "targetStage",
|
|
12433
12434
|
},
|
|
@@ -12441,6 +12442,7 @@ class DockerBuildOptions:
|
|
|
12441
12442
|
cache_from: typing.Optional[typing.Sequence[typing.Union["DockerCacheOption", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12442
12443
|
cache_to: typing.Optional[typing.Union["DockerCacheOption", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
12443
12444
|
file: typing.Optional[builtins.str] = None,
|
|
12445
|
+
network: typing.Optional[builtins.str] = None,
|
|
12444
12446
|
platform: typing.Optional[builtins.str] = None,
|
|
12445
12447
|
target_stage: typing.Optional[builtins.str] = None,
|
|
12446
12448
|
) -> None:
|
|
@@ -12451,6 +12453,7 @@ class DockerBuildOptions:
|
|
|
12451
12453
|
:param cache_from: Cache from options to pass to the ``docker build`` command. Default: - no cache from args are passed
|
|
12452
12454
|
:param cache_to: Cache to options to pass to the ``docker build`` command. Default: - no cache to args are passed
|
|
12453
12455
|
:param file: Name of the Dockerfile, must relative to the docker build path. Default: ``Dockerfile``
|
|
12456
|
+
:param network: Docker `Networking options <https://docs.docker.com/reference/cli/docker/buildx/build/#network>`_. Default: - no networking options
|
|
12454
12457
|
:param platform: Set platform if server is multi-platform capable. *Requires Docker Engine API v1.38+*. Example value: ``linux/amd64`` Default: - no platform specified
|
|
12455
12458
|
:param target_stage: Set build target for multi-stage container builds. Any stage defined afterwards will be ignored. Example value: ``build-env`` Default: - Build all stages defined in the Dockerfile
|
|
12456
12459
|
|
|
@@ -12482,6 +12485,7 @@ class DockerBuildOptions:
|
|
|
12482
12485
|
check_type(argname="argument cache_from", value=cache_from, expected_type=type_hints["cache_from"])
|
|
12483
12486
|
check_type(argname="argument cache_to", value=cache_to, expected_type=type_hints["cache_to"])
|
|
12484
12487
|
check_type(argname="argument file", value=file, expected_type=type_hints["file"])
|
|
12488
|
+
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
12485
12489
|
check_type(argname="argument platform", value=platform, expected_type=type_hints["platform"])
|
|
12486
12490
|
check_type(argname="argument target_stage", value=target_stage, expected_type=type_hints["target_stage"])
|
|
12487
12491
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -12495,6 +12499,8 @@ class DockerBuildOptions:
|
|
|
12495
12499
|
self._values["cache_to"] = cache_to
|
|
12496
12500
|
if file is not None:
|
|
12497
12501
|
self._values["file"] = file
|
|
12502
|
+
if network is not None:
|
|
12503
|
+
self._values["network"] = network
|
|
12498
12504
|
if platform is not None:
|
|
12499
12505
|
self._values["platform"] = platform
|
|
12500
12506
|
if target_stage is not None:
|
|
@@ -12545,6 +12551,15 @@ class DockerBuildOptions:
|
|
|
12545
12551
|
result = self._values.get("file")
|
|
12546
12552
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
12547
12553
|
|
|
12554
|
+
@builtins.property
|
|
12555
|
+
def network(self) -> typing.Optional[builtins.str]:
|
|
12556
|
+
'''Docker `Networking options <https://docs.docker.com/reference/cli/docker/buildx/build/#network>`_.
|
|
12557
|
+
|
|
12558
|
+
:default: - no networking options
|
|
12559
|
+
'''
|
|
12560
|
+
result = self._values.get("network")
|
|
12561
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
12562
|
+
|
|
12548
12563
|
@builtins.property
|
|
12549
12564
|
def platform(self) -> typing.Optional[builtins.str]:
|
|
12550
12565
|
'''Set platform if server is multi-platform capable. *Requires Docker Engine API v1.38+*.
|
|
@@ -12755,6 +12770,7 @@ class DockerImage(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.DockerImage"):
|
|
|
12755
12770
|
cache_from: typing.Optional[typing.Sequence[typing.Union[DockerCacheOption, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12756
12771
|
cache_to: typing.Optional[typing.Union[DockerCacheOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
12757
12772
|
file: typing.Optional[builtins.str] = None,
|
|
12773
|
+
network: typing.Optional[builtins.str] = None,
|
|
12758
12774
|
platform: typing.Optional[builtins.str] = None,
|
|
12759
12775
|
target_stage: typing.Optional[builtins.str] = None,
|
|
12760
12776
|
) -> "DockerImage":
|
|
@@ -12766,6 +12782,7 @@ class DockerImage(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.DockerImage"):
|
|
|
12766
12782
|
:param cache_from: Cache from options to pass to the ``docker build`` command. Default: - no cache from args are passed
|
|
12767
12783
|
:param cache_to: Cache to options to pass to the ``docker build`` command. Default: - no cache to args are passed
|
|
12768
12784
|
:param file: Name of the Dockerfile, must relative to the docker build path. Default: ``Dockerfile``
|
|
12785
|
+
:param network: Docker `Networking options <https://docs.docker.com/reference/cli/docker/buildx/build/#network>`_. Default: - no networking options
|
|
12769
12786
|
:param platform: Set platform if server is multi-platform capable. *Requires Docker Engine API v1.38+*. Example value: ``linux/amd64`` Default: - no platform specified
|
|
12770
12787
|
:param target_stage: Set build target for multi-stage container builds. Any stage defined afterwards will be ignored. Example value: ``build-env`` Default: - Build all stages defined in the Dockerfile
|
|
12771
12788
|
'''
|
|
@@ -12778,6 +12795,7 @@ class DockerImage(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.DockerImage"):
|
|
|
12778
12795
|
cache_from=cache_from,
|
|
12779
12796
|
cache_to=cache_to,
|
|
12780
12797
|
file=file,
|
|
12798
|
+
network=network,
|
|
12781
12799
|
platform=platform,
|
|
12782
12800
|
target_stage=target_stage,
|
|
12783
12801
|
)
|
|
@@ -31533,7 +31551,7 @@ class CfnLambdaHook(
|
|
|
31533
31551
|
:param lambda_function: Specifies the Lambda function for the Hook. You can use:. - The full Amazon Resource Name (ARN) without a suffix. - A qualified ARN with a version or alias suffix.
|
|
31534
31552
|
:param target_operations: Specifies the list of operations the Hook is run against. For more information, see `Hook targets <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-concepts.html#hook-terms-hook-target>`_ in the *AWS CloudFormation Hooks User Guide* . Valid values: ``STACK`` | ``RESOURCE`` | ``CHANGE_SET`` | ``CLOUD_CONTROL``
|
|
31535
31553
|
:param stack_filters: Specifies the stack level filters for the Hook. Example stack level filter in JSON: ``"StackFilters": {"FilteringCriteria": "ALL", "StackNames": {"Exclude": [ "stack-1", "stack-2"]}}`` Example stack level filter in YAML: ``StackFilters: FilteringCriteria: ALL StackNames: Exclude: - stack-1 - stack-2``
|
|
31536
|
-
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "
|
|
31554
|
+
:param target_filters: Specifies the target filters for the Hook. Example target filter in JSON: ``"TargetFilters": {"Actions": [ "CREATE", "UPDATE", "DELETE" ]}`` Example target filter in YAML: ``TargetFilters: Actions: - CREATE - UPDATE - DELETE``
|
|
31537
31555
|
'''
|
|
31538
31556
|
if __debug__:
|
|
31539
31557
|
type_hints = typing.get_type_hints(_typecheckingstub__407b4a631e3a832f02376728222302ded8f1ba90d2538b0469e5b99641f17447)
|
|
@@ -39989,6 +40007,7 @@ def _typecheckingstub__e285633ad5a50949fcc0277b0b38d3679a006cdac41feaef60665b393
|
|
|
39989
40007
|
cache_from: typing.Optional[typing.Sequence[typing.Union[DockerCacheOption, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39990
40008
|
cache_to: typing.Optional[typing.Union[DockerCacheOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
39991
40009
|
file: typing.Optional[builtins.str] = None,
|
|
40010
|
+
network: typing.Optional[builtins.str] = None,
|
|
39992
40011
|
platform: typing.Optional[builtins.str] = None,
|
|
39993
40012
|
target_stage: typing.Optional[builtins.str] = None,
|
|
39994
40013
|
) -> None:
|
|
@@ -40024,6 +40043,7 @@ def _typecheckingstub__ee160dc0667b6e8f45df2c2f176a77d9d6a3ece4b83cdf7804625adf8
|
|
|
40024
40043
|
cache_from: typing.Optional[typing.Sequence[typing.Union[DockerCacheOption, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
40025
40044
|
cache_to: typing.Optional[typing.Union[DockerCacheOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
40026
40045
|
file: typing.Optional[builtins.str] = None,
|
|
40046
|
+
network: typing.Optional[builtins.str] = None,
|
|
40027
40047
|
platform: typing.Optional[builtins.str] = None,
|
|
40028
40048
|
target_stage: typing.Optional[builtins.str] = None,
|
|
40029
40049
|
) -> None:
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -34,7 +34,7 @@ import aws_cdk.cloud_assembly_schema._jsii
|
|
|
34
34
|
import constructs._jsii
|
|
35
35
|
|
|
36
36
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
37
|
-
"aws-cdk-lib", "2.
|
|
37
|
+
"aws-cdk-lib", "2.214.0", __name__[0:-6], "aws-cdk-lib@2.214.0.jsii.tgz"
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
__all__ = [
|
|
Binary file
|
|
@@ -4901,7 +4901,7 @@ class ConfigurationContent(
|
|
|
4901
4901
|
'''Defines the hosted configuration content from a file.
|
|
4902
4902
|
|
|
4903
4903
|
:param input_path: The path to the file that defines configuration content.
|
|
4904
|
-
:param content_type: The content type of
|
|
4904
|
+
:param content_type: The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``. For an up-to-date list of valid MIME types, see: https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
4905
4905
|
'''
|
|
4906
4906
|
if __debug__:
|
|
4907
4907
|
type_hints = typing.get_type_hints(_typecheckingstub__90a444a396ae95bf4dbe20a3cba4428b472f8dc18cddec786f4ed521d3ef8224)
|
|
@@ -4919,7 +4919,7 @@ class ConfigurationContent(
|
|
|
4919
4919
|
'''Defines the hosted configuration content from inline code.
|
|
4920
4920
|
|
|
4921
4921
|
:param content: The inline code that defines the configuration content.
|
|
4922
|
-
:param content_type: The content type of
|
|
4922
|
+
:param content_type: The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``. For an up-to-date list of valid MIME types, see: https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
4923
4923
|
'''
|
|
4924
4924
|
if __debug__:
|
|
4925
4925
|
type_hints = typing.get_type_hints(_typecheckingstub__3dc78a8c320c476850c109277461b0640bc3492938af15c32744671285117e99)
|
|
@@ -4937,7 +4937,7 @@ class ConfigurationContent(
|
|
|
4937
4937
|
'''Defines the hosted configuration content as JSON from inline code.
|
|
4938
4938
|
|
|
4939
4939
|
:param content: The inline code that defines the configuration content.
|
|
4940
|
-
:param content_type: The content type of
|
|
4940
|
+
:param content_type: The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``. For an up-to-date list of valid MIME types, see: https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
4941
4941
|
'''
|
|
4942
4942
|
if __debug__:
|
|
4943
4943
|
type_hints = typing.get_type_hints(_typecheckingstub__0be240b695740e98f6925d6eb7c6948c1cdff98558955885c2275a539fa4e5f0)
|
|
@@ -4980,7 +4980,11 @@ class ConfigurationContent(
|
|
|
4980
4980
|
@jsii.member(jsii_name="contentType")
|
|
4981
4981
|
@abc.abstractmethod
|
|
4982
4982
|
def content_type(self) -> builtins.str:
|
|
4983
|
-
'''The configuration content type.
|
|
4983
|
+
'''The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``.
|
|
4984
|
+
|
|
4985
|
+
For an up-to-date list of valid MIME types, see:
|
|
4986
|
+
https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
4987
|
+
'''
|
|
4984
4988
|
...
|
|
4985
4989
|
|
|
4986
4990
|
|
|
@@ -4994,7 +4998,11 @@ class _ConfigurationContentProxy(ConfigurationContent):
|
|
|
4994
4998
|
@builtins.property
|
|
4995
4999
|
@jsii.member(jsii_name="contentType")
|
|
4996
5000
|
def content_type(self) -> builtins.str:
|
|
4997
|
-
'''The configuration content type.
|
|
5001
|
+
'''The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``.
|
|
5002
|
+
|
|
5003
|
+
For an up-to-date list of valid MIME types, see:
|
|
5004
|
+
https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
5005
|
+
'''
|
|
4998
5006
|
return typing.cast(builtins.str, jsii.get(self, "contentType"))
|
|
4999
5007
|
|
|
5000
5008
|
# Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class
|
|
@@ -13574,7 +13582,11 @@ class HostedConfiguration(
|
|
|
13574
13582
|
@builtins.property
|
|
13575
13583
|
@jsii.member(jsii_name="contentType")
|
|
13576
13584
|
def content_type(self) -> typing.Optional[builtins.str]:
|
|
13577
|
-
'''The content type
|
|
13585
|
+
'''The configuration content type, specified as a standard MIME type. Supported examples include: - ``text/plain`` - ``application/json`` - ``application/octet-stream`` - ``application/x-yaml``.
|
|
13586
|
+
|
|
13587
|
+
For an up-to-date list of valid MIME types, see:
|
|
13588
|
+
https://www.iana.org/assignments/media-types/media-types.xhtml
|
|
13589
|
+
'''
|
|
13578
13590
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "contentType"))
|
|
13579
13591
|
|
|
13580
13592
|
@builtins.property
|
|
@@ -147,7 +147,7 @@ class CfnApplication(
|
|
|
147
147
|
:param application_config:
|
|
148
148
|
:param iframe_config:
|
|
149
149
|
:param initialization_timeout: The initialization timeout in milliseconds. Required when IsService is true.
|
|
150
|
-
:param is_service: Indicates
|
|
150
|
+
:param is_service: Indicates whether the application is a service. Default: - false
|
|
151
151
|
:param permissions: The configuration of events or requests that the application has access to.
|
|
152
152
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
|
|
153
153
|
'''
|
|
@@ -338,7 +338,7 @@ class CfnApplication(
|
|
|
338
338
|
def is_service(
|
|
339
339
|
self,
|
|
340
340
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
341
|
-
'''Indicates
|
|
341
|
+
'''Indicates whether the application is a service.'''
|
|
342
342
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "isService"))
|
|
343
343
|
|
|
344
344
|
@is_service.setter
|
|
@@ -731,7 +731,7 @@ class CfnApplicationProps:
|
|
|
731
731
|
:param application_config:
|
|
732
732
|
:param iframe_config:
|
|
733
733
|
:param initialization_timeout: The initialization timeout in milliseconds. Required when IsService is true.
|
|
734
|
-
:param is_service: Indicates
|
|
734
|
+
:param is_service: Indicates whether the application is a service. Default: - false
|
|
735
735
|
:param permissions: The configuration of events or requests that the application has access to.
|
|
736
736
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
|
|
737
737
|
|
|
@@ -884,7 +884,7 @@ class CfnApplicationProps:
|
|
|
884
884
|
def is_service(
|
|
885
885
|
self,
|
|
886
886
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
887
|
-
'''Indicates
|
|
887
|
+
'''Indicates whether the application is a service.
|
|
888
888
|
|
|
889
889
|
:default: - false
|
|
890
890
|
|
|
@@ -2430,7 +2430,7 @@ class CfnService(
|
|
|
2430
2430
|
|
|
2431
2431
|
:param egress_configuration: Network configuration settings for outbound message traffic.
|
|
2432
2432
|
:param ingress_configuration: Network configuration settings for inbound message traffic.
|
|
2433
|
-
:param ip_address_type: App Runner provides you with the option to choose between *
|
|
2433
|
+
:param ip_address_type: App Runner provides you with the option to choose between *IPv4* and *dual stack* (IPv4 and IPv6) for your incoming public network configuration. This is an optional parameter. If you do not specify an ``IpAddressType`` , it defaults to select IPv4.
|
|
2434
2434
|
|
|
2435
2435
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-networkconfiguration.html
|
|
2436
2436
|
:exampleMetadata: fixture=_generated
|
|
@@ -2491,12 +2491,9 @@ class CfnService(
|
|
|
2491
2491
|
|
|
2492
2492
|
@builtins.property
|
|
2493
2493
|
def ip_address_type(self) -> typing.Optional[builtins.str]:
|
|
2494
|
-
'''App Runner provides you with the option to choose between *
|
|
2494
|
+
'''App Runner provides you with the option to choose between *IPv4* and *dual stack* (IPv4 and IPv6) for your incoming public network configuration.
|
|
2495
2495
|
|
|
2496
2496
|
This is an optional parameter. If you do not specify an ``IpAddressType`` , it defaults to select IPv4.
|
|
2497
|
-
.. epigraph::
|
|
2498
|
-
|
|
2499
|
-
Currently, App Runner supports dual stack for only Public endpoint. Only IPv4 is supported for Private endpoint. If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint.
|
|
2500
2497
|
|
|
2501
2498
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-networkconfiguration.html#cfn-apprunner-service-networkconfiguration-ipaddresstype
|
|
2502
2499
|
'''
|
|
@@ -3196,7 +3193,7 @@ class CfnVpcConnector(
|
|
|
3196
3193
|
'''
|
|
3197
3194
|
:param scope: Scope in which this resource is defined.
|
|
3198
3195
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3199
|
-
:param subnets: A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify. .. epigraph:: App Runner
|
|
3196
|
+
:param subnets: A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify. .. epigraph:: App Runner only supports subnets of IP address type *IPv4* and *dual stack* (IPv4 and IPv6).
|
|
3200
3197
|
:param security_groups: A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
|
|
3201
3198
|
:param tags: A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair. .. epigraph:: A ``VpcConnector`` is immutable, so you cannot update its tags. To change the tags, replace the resource. To replace a ``VpcConnector`` , you must provide a new combination of security groups.
|
|
3202
3199
|
:param vpc_connector_name: A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
|
|
@@ -3355,7 +3352,7 @@ class CfnVpcConnectorProps:
|
|
|
3355
3352
|
) -> None:
|
|
3356
3353
|
'''Properties for defining a ``CfnVpcConnector``.
|
|
3357
3354
|
|
|
3358
|
-
:param subnets: A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify. .. epigraph:: App Runner
|
|
3355
|
+
:param subnets: A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify. .. epigraph:: App Runner only supports subnets of IP address type *IPv4* and *dual stack* (IPv4 and IPv6).
|
|
3359
3356
|
:param security_groups: A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
|
|
3360
3357
|
:param tags: A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair. .. epigraph:: A ``VpcConnector`` is immutable, so you cannot update its tags. To change the tags, replace the resource. To replace a ``VpcConnector`` , you must provide a new combination of security groups.
|
|
3361
3358
|
:param vpc_connector_name: A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
|
|
@@ -3404,7 +3401,7 @@ class CfnVpcConnectorProps:
|
|
|
3404
3401
|
Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
|
|
3405
3402
|
.. epigraph::
|
|
3406
3403
|
|
|
3407
|
-
App Runner
|
|
3404
|
+
App Runner only supports subnets of IP address type *IPv4* and *dual stack* (IPv4 and IPv6).
|
|
3408
3405
|
|
|
3409
3406
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-vpcconnector.html#cfn-apprunner-vpcconnector-subnets
|
|
3410
3407
|
'''
|
aws_cdk/aws_aps/__init__.py
CHANGED
|
@@ -70,6 +70,197 @@ from .. import (
|
|
|
70
70
|
)
|
|
71
71
|
|
|
72
72
|
|
|
73
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
74
|
+
class CfnResourcePolicy(
|
|
75
|
+
_CfnResource_9df397a6,
|
|
76
|
+
metaclass=jsii.JSIIMeta,
|
|
77
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnResourcePolicy",
|
|
78
|
+
):
|
|
79
|
+
'''Use resource-based policies to grant permissions to other AWS accounts or services to access your workspace.
|
|
80
|
+
|
|
81
|
+
Only Prometheus-compatible APIs can be used for workspace sharing. You can add non-Prometheus-compatible APIs to the policy, but they will be ignored. For more information, see `Prometheus-compatible APIs <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-APIReference-Prometheus-Compatible-Apis.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
82
|
+
|
|
83
|
+
If your workspace uses customer-managed AWS KMS keys for encryption, you must grant the principals in your resource-based policy access to those AWS KMS keys. You can do this by creating AWS KMS grants. For more information, see `CreateGrant <https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateGrant.html>`_ in the *AWS KMS API Reference* and `Encryption at rest <https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
84
|
+
|
|
85
|
+
For more information about working with IAM , see `Using Amazon Managed Service for Prometheus with IAM <https://docs.aws.amazon.com/prometheus/latest/userguide/security_iam_service-with-iam.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
86
|
+
|
|
87
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-resourcepolicy.html
|
|
88
|
+
:cloudformationResource: AWS::APS::ResourcePolicy
|
|
89
|
+
:exampleMetadata: fixture=_generated
|
|
90
|
+
|
|
91
|
+
Example::
|
|
92
|
+
|
|
93
|
+
# The code below shows an example of how to instantiate this type.
|
|
94
|
+
# The values are placeholders you should change.
|
|
95
|
+
from aws_cdk import aws_aps as aps
|
|
96
|
+
|
|
97
|
+
cfn_resource_policy = aps.CfnResourcePolicy(self, "MyCfnResourcePolicy",
|
|
98
|
+
policy_document="policyDocument",
|
|
99
|
+
workspace_arn="workspaceArn"
|
|
100
|
+
)
|
|
101
|
+
'''
|
|
102
|
+
|
|
103
|
+
def __init__(
|
|
104
|
+
self,
|
|
105
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
106
|
+
id: builtins.str,
|
|
107
|
+
*,
|
|
108
|
+
policy_document: builtins.str,
|
|
109
|
+
workspace_arn: builtins.str,
|
|
110
|
+
) -> None:
|
|
111
|
+
'''
|
|
112
|
+
:param scope: Scope in which this resource is defined.
|
|
113
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
114
|
+
:param policy_document: The JSON to use as the Resource-based Policy.
|
|
115
|
+
:param workspace_arn: An ARN identifying a Workspace.
|
|
116
|
+
'''
|
|
117
|
+
if __debug__:
|
|
118
|
+
type_hints = typing.get_type_hints(_typecheckingstub__54f89d9ee1d6d400f40f83801fe40dee056ce969e9e0501ca1390285aab7cb82)
|
|
119
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
120
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
121
|
+
props = CfnResourcePolicyProps(
|
|
122
|
+
policy_document=policy_document, workspace_arn=workspace_arn
|
|
123
|
+
)
|
|
124
|
+
|
|
125
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
126
|
+
|
|
127
|
+
@jsii.member(jsii_name="inspect")
|
|
128
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
129
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
130
|
+
|
|
131
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
132
|
+
'''
|
|
133
|
+
if __debug__:
|
|
134
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7fd684bb5425ae9b9586530c2118e55043226673b8740171d3f7c2b1fbd03b3d)
|
|
135
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
136
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
137
|
+
|
|
138
|
+
@jsii.member(jsii_name="renderProperties")
|
|
139
|
+
def _render_properties(
|
|
140
|
+
self,
|
|
141
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
142
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
143
|
+
'''
|
|
144
|
+
:param props: -
|
|
145
|
+
'''
|
|
146
|
+
if __debug__:
|
|
147
|
+
type_hints = typing.get_type_hints(_typecheckingstub__96c6a584b0420e6cc37e76ad4b000bc6d8f4137f577bf7075b4ec87bab8717d9)
|
|
148
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
149
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
150
|
+
|
|
151
|
+
@jsii.python.classproperty
|
|
152
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
153
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
154
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
155
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
156
|
+
|
|
157
|
+
@builtins.property
|
|
158
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
159
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
160
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
161
|
+
|
|
162
|
+
@builtins.property
|
|
163
|
+
@jsii.member(jsii_name="policyDocument")
|
|
164
|
+
def policy_document(self) -> builtins.str:
|
|
165
|
+
'''The JSON to use as the Resource-based Policy.'''
|
|
166
|
+
return typing.cast(builtins.str, jsii.get(self, "policyDocument"))
|
|
167
|
+
|
|
168
|
+
@policy_document.setter
|
|
169
|
+
def policy_document(self, value: builtins.str) -> None:
|
|
170
|
+
if __debug__:
|
|
171
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d726921aa53fc43f461134d2df5d60edb5d56b4fa67ef6e4e82d305af7b7eba5)
|
|
172
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
173
|
+
jsii.set(self, "policyDocument", value) # pyright: ignore[reportArgumentType]
|
|
174
|
+
|
|
175
|
+
@builtins.property
|
|
176
|
+
@jsii.member(jsii_name="workspaceArn")
|
|
177
|
+
def workspace_arn(self) -> builtins.str:
|
|
178
|
+
'''An ARN identifying a Workspace.'''
|
|
179
|
+
return typing.cast(builtins.str, jsii.get(self, "workspaceArn"))
|
|
180
|
+
|
|
181
|
+
@workspace_arn.setter
|
|
182
|
+
def workspace_arn(self, value: builtins.str) -> None:
|
|
183
|
+
if __debug__:
|
|
184
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2f020f5d54f91c35f0b4332b16391ef6561cfc07a46cc5fc1e48d4acdb82a4b8)
|
|
185
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
186
|
+
jsii.set(self, "workspaceArn", value) # pyright: ignore[reportArgumentType]
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
@jsii.data_type(
|
|
190
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnResourcePolicyProps",
|
|
191
|
+
jsii_struct_bases=[],
|
|
192
|
+
name_mapping={
|
|
193
|
+
"policy_document": "policyDocument",
|
|
194
|
+
"workspace_arn": "workspaceArn",
|
|
195
|
+
},
|
|
196
|
+
)
|
|
197
|
+
class CfnResourcePolicyProps:
|
|
198
|
+
def __init__(
|
|
199
|
+
self,
|
|
200
|
+
*,
|
|
201
|
+
policy_document: builtins.str,
|
|
202
|
+
workspace_arn: builtins.str,
|
|
203
|
+
) -> None:
|
|
204
|
+
'''Properties for defining a ``CfnResourcePolicy``.
|
|
205
|
+
|
|
206
|
+
:param policy_document: The JSON to use as the Resource-based Policy.
|
|
207
|
+
:param workspace_arn: An ARN identifying a Workspace.
|
|
208
|
+
|
|
209
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-resourcepolicy.html
|
|
210
|
+
:exampleMetadata: fixture=_generated
|
|
211
|
+
|
|
212
|
+
Example::
|
|
213
|
+
|
|
214
|
+
# The code below shows an example of how to instantiate this type.
|
|
215
|
+
# The values are placeholders you should change.
|
|
216
|
+
from aws_cdk import aws_aps as aps
|
|
217
|
+
|
|
218
|
+
cfn_resource_policy_props = aps.CfnResourcePolicyProps(
|
|
219
|
+
policy_document="policyDocument",
|
|
220
|
+
workspace_arn="workspaceArn"
|
|
221
|
+
)
|
|
222
|
+
'''
|
|
223
|
+
if __debug__:
|
|
224
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bb05747fc90b1776c66fd40ec5d261399f93ac6b367fc973d5df8b912bd30997)
|
|
225
|
+
check_type(argname="argument policy_document", value=policy_document, expected_type=type_hints["policy_document"])
|
|
226
|
+
check_type(argname="argument workspace_arn", value=workspace_arn, expected_type=type_hints["workspace_arn"])
|
|
227
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
228
|
+
"policy_document": policy_document,
|
|
229
|
+
"workspace_arn": workspace_arn,
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@builtins.property
|
|
233
|
+
def policy_document(self) -> builtins.str:
|
|
234
|
+
'''The JSON to use as the Resource-based Policy.
|
|
235
|
+
|
|
236
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-resourcepolicy.html#cfn-aps-resourcepolicy-policydocument
|
|
237
|
+
'''
|
|
238
|
+
result = self._values.get("policy_document")
|
|
239
|
+
assert result is not None, "Required property 'policy_document' is missing"
|
|
240
|
+
return typing.cast(builtins.str, result)
|
|
241
|
+
|
|
242
|
+
@builtins.property
|
|
243
|
+
def workspace_arn(self) -> builtins.str:
|
|
244
|
+
'''An ARN identifying a Workspace.
|
|
245
|
+
|
|
246
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-resourcepolicy.html#cfn-aps-resourcepolicy-workspacearn
|
|
247
|
+
'''
|
|
248
|
+
result = self._values.get("workspace_arn")
|
|
249
|
+
assert result is not None, "Required property 'workspace_arn' is missing"
|
|
250
|
+
return typing.cast(builtins.str, result)
|
|
251
|
+
|
|
252
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
253
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
254
|
+
|
|
255
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
256
|
+
return not (rhs == self)
|
|
257
|
+
|
|
258
|
+
def __repr__(self) -> str:
|
|
259
|
+
return "CfnResourcePolicyProps(%s)" % ", ".join(
|
|
260
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
261
|
+
)
|
|
262
|
+
|
|
263
|
+
|
|
73
264
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
74
265
|
class CfnRuleGroupsNamespace(
|
|
75
266
|
_CfnResource_9df397a6,
|
|
@@ -1254,7 +1445,7 @@ class CfnWorkspace(
|
|
|
1254
1445
|
:param alert_manager_definition: The alert manager definition, a YAML configuration for the alert manager in your Amazon Managed Service for Prometheus workspace. For details about the alert manager definition, see `Creating an alert manager configuration files <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-alertmanager-config.html>`_ in the *Amazon Managed Service for Prometheus User Guide* . The following example shows part of a CloudFormation YAML file with an embedded alert manager definition (following the ``- |-`` ). ``Workspace: Type: AWS::APS::Workspace .... Properties: .... AlertManagerDefinition: Fn::Sub: - |- alertmanager_config: | templates: - 'default_template' route: receiver: example-sns receivers: - name: example-sns sns_configs: - topic_arn: 'arn:aws:sns:${AWS::Region}:${AWS::AccountId}:${TopicName}' -``
|
|
1255
1446
|
:param alias: The alias that is assigned to this workspace to help identify it. It does not need to be unique.
|
|
1256
1447
|
:param kms_key_arn: (optional) The ARN for a customer managed AWS KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see `Encryption at rest <https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
1257
|
-
:param logging_configuration: Contains information about the
|
|
1448
|
+
:param logging_configuration: Contains information about the logging configuration for the workspace.
|
|
1258
1449
|
:param query_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
|
|
1259
1450
|
:param tags: The list of tag keys and values that are associated with the workspace.
|
|
1260
1451
|
:param workspace_configuration: Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
|
|
@@ -1393,7 +1584,7 @@ class CfnWorkspace(
|
|
|
1393
1584
|
def logging_configuration(
|
|
1394
1585
|
self,
|
|
1395
1586
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingConfigurationProperty"]]:
|
|
1396
|
-
'''Contains information about the
|
|
1587
|
+
'''Contains information about the logging configuration for the workspace.'''
|
|
1397
1588
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingConfigurationProperty"]], jsii.get(self, "loggingConfiguration"))
|
|
1398
1589
|
|
|
1399
1590
|
@logging_configuration.setter
|
|
@@ -1863,7 +2054,7 @@ class CfnWorkspace(
|
|
|
1863
2054
|
def __init__(self, *, qsp_threshold: jsii.Number) -> None:
|
|
1864
2055
|
'''Filtering criteria that determine which queries are logged.
|
|
1865
2056
|
|
|
1866
|
-
:param qsp_threshold: Query
|
|
2057
|
+
:param qsp_threshold: The Query Samples Processed (QSP) threshold above which queries will be logged. Queries processing more samples than this threshold will be captured in logs.
|
|
1867
2058
|
|
|
1868
2059
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingfilter.html
|
|
1869
2060
|
:exampleMetadata: fixture=_generated
|
|
@@ -1887,7 +2078,9 @@ class CfnWorkspace(
|
|
|
1887
2078
|
|
|
1888
2079
|
@builtins.property
|
|
1889
2080
|
def qsp_threshold(self) -> jsii.Number:
|
|
1890
|
-
'''Query
|
|
2081
|
+
'''The Query Samples Processed (QSP) threshold above which queries will be logged.
|
|
2082
|
+
|
|
2083
|
+
Queries processing more samples than this threshold will be captured in logs.
|
|
1891
2084
|
|
|
1892
2085
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingfilter.html#cfn-aps-workspace-loggingfilter-qspthreshold
|
|
1893
2086
|
'''
|
|
@@ -2087,7 +2280,7 @@ class CfnWorkspaceProps:
|
|
|
2087
2280
|
:param alert_manager_definition: The alert manager definition, a YAML configuration for the alert manager in your Amazon Managed Service for Prometheus workspace. For details about the alert manager definition, see `Creating an alert manager configuration files <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-alertmanager-config.html>`_ in the *Amazon Managed Service for Prometheus User Guide* . The following example shows part of a CloudFormation YAML file with an embedded alert manager definition (following the ``- |-`` ). ``Workspace: Type: AWS::APS::Workspace .... Properties: .... AlertManagerDefinition: Fn::Sub: - |- alertmanager_config: | templates: - 'default_template' route: receiver: example-sns receivers: - name: example-sns sns_configs: - topic_arn: 'arn:aws:sns:${AWS::Region}:${AWS::AccountId}:${TopicName}' -``
|
|
2088
2281
|
:param alias: The alias that is assigned to this workspace to help identify it. It does not need to be unique.
|
|
2089
2282
|
:param kms_key_arn: (optional) The ARN for a customer managed AWS KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see `Encryption at rest <https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
2090
|
-
:param logging_configuration: Contains information about the
|
|
2283
|
+
:param logging_configuration: Contains information about the logging configuration for the workspace.
|
|
2091
2284
|
:param query_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
|
|
2092
2285
|
:param tags: The list of tag keys and values that are associated with the workspace.
|
|
2093
2286
|
:param workspace_configuration: Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
|
|
@@ -2202,11 +2395,7 @@ class CfnWorkspaceProps:
|
|
|
2202
2395
|
def logging_configuration(
|
|
2203
2396
|
self,
|
|
2204
2397
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.LoggingConfigurationProperty]]:
|
|
2205
|
-
'''Contains information about the
|
|
2206
|
-
|
|
2207
|
-
.. epigraph::
|
|
2208
|
-
|
|
2209
|
-
These logging configurations are only for rules and alerting logs.
|
|
2398
|
+
'''Contains information about the logging configuration for the workspace.
|
|
2210
2399
|
|
|
2211
2400
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-loggingconfiguration
|
|
2212
2401
|
'''
|
|
@@ -2257,6 +2446,8 @@ class CfnWorkspaceProps:
|
|
|
2257
2446
|
|
|
2258
2447
|
|
|
2259
2448
|
__all__ = [
|
|
2449
|
+
"CfnResourcePolicy",
|
|
2450
|
+
"CfnResourcePolicyProps",
|
|
2260
2451
|
"CfnRuleGroupsNamespace",
|
|
2261
2452
|
"CfnRuleGroupsNamespaceProps",
|
|
2262
2453
|
"CfnScraper",
|
|
@@ -2267,6 +2458,48 @@ __all__ = [
|
|
|
2267
2458
|
|
|
2268
2459
|
publication.publish()
|
|
2269
2460
|
|
|
2461
|
+
def _typecheckingstub__54f89d9ee1d6d400f40f83801fe40dee056ce969e9e0501ca1390285aab7cb82(
|
|
2462
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2463
|
+
id: builtins.str,
|
|
2464
|
+
*,
|
|
2465
|
+
policy_document: builtins.str,
|
|
2466
|
+
workspace_arn: builtins.str,
|
|
2467
|
+
) -> None:
|
|
2468
|
+
"""Type checking stubs"""
|
|
2469
|
+
pass
|
|
2470
|
+
|
|
2471
|
+
def _typecheckingstub__7fd684bb5425ae9b9586530c2118e55043226673b8740171d3f7c2b1fbd03b3d(
|
|
2472
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2473
|
+
) -> None:
|
|
2474
|
+
"""Type checking stubs"""
|
|
2475
|
+
pass
|
|
2476
|
+
|
|
2477
|
+
def _typecheckingstub__96c6a584b0420e6cc37e76ad4b000bc6d8f4137f577bf7075b4ec87bab8717d9(
|
|
2478
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2479
|
+
) -> None:
|
|
2480
|
+
"""Type checking stubs"""
|
|
2481
|
+
pass
|
|
2482
|
+
|
|
2483
|
+
def _typecheckingstub__d726921aa53fc43f461134d2df5d60edb5d56b4fa67ef6e4e82d305af7b7eba5(
|
|
2484
|
+
value: builtins.str,
|
|
2485
|
+
) -> None:
|
|
2486
|
+
"""Type checking stubs"""
|
|
2487
|
+
pass
|
|
2488
|
+
|
|
2489
|
+
def _typecheckingstub__2f020f5d54f91c35f0b4332b16391ef6561cfc07a46cc5fc1e48d4acdb82a4b8(
|
|
2490
|
+
value: builtins.str,
|
|
2491
|
+
) -> None:
|
|
2492
|
+
"""Type checking stubs"""
|
|
2493
|
+
pass
|
|
2494
|
+
|
|
2495
|
+
def _typecheckingstub__bb05747fc90b1776c66fd40ec5d261399f93ac6b367fc973d5df8b912bd30997(
|
|
2496
|
+
*,
|
|
2497
|
+
policy_document: builtins.str,
|
|
2498
|
+
workspace_arn: builtins.str,
|
|
2499
|
+
) -> None:
|
|
2500
|
+
"""Type checking stubs"""
|
|
2501
|
+
pass
|
|
2502
|
+
|
|
2270
2503
|
def _typecheckingstub__02d681a4d4a1e9d9052c98f45bf8b21257e825ee8185b30ea4b6f887fc7416b1(
|
|
2271
2504
|
scope: _constructs_77d1e7e8.Construct,
|
|
2272
2505
|
id: builtins.str,
|