aws-cdk-lib 2.199.0__py3-none-any.whl → 2.200.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 +22 -24
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.199.0.jsii.tgz → aws-cdk-lib@2.200.1.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -4
- aws_cdk/aws_aps/__init__.py +38 -30
- aws_cdk/aws_autoscaling/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +73 -48
- aws_cdk/aws_cloudformation/__init__.py +17 -23
- aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_cloudwatch/__init__.py +50 -1
- aws_cdk/aws_codebuild/__init__.py +116 -0
- aws_cdk/aws_datazone/__init__.py +699 -9
- aws_cdk/aws_deadline/__init__.py +38 -10
- aws_cdk/aws_ec2/__init__.py +78 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +7 -7
- aws_cdk/aws_emr/__init__.py +36 -2
- aws_cdk/aws_fsx/__init__.py +122 -0
- aws_cdk/aws_glue/__init__.py +55 -26
- aws_cdk/aws_iam/__init__.py +376 -2
- aws_cdk/aws_iot/__init__.py +57 -5
- aws_cdk/aws_kinesisfirehose/__init__.py +5 -1
- aws_cdk/aws_lambda/__init__.py +65 -45
- aws_cdk/aws_lex/__init__.py +27 -13
- aws_cdk/aws_lightsail/__init__.py +452 -0
- aws_cdk/aws_medialive/__init__.py +699 -497
- aws_cdk/aws_msk/__init__.py +4 -4
- aws_cdk/aws_networkfirewall/__init__.py +9 -5
- aws_cdk/aws_nimblestudio/__init__.py +208 -400
- aws_cdk/aws_panorama/__init__.py +30 -3
- aws_cdk/aws_pcs/__init__.py +12 -5
- aws_cdk/aws_rds/__init__.py +22 -10
- aws_cdk/aws_s3/__init__.py +367 -6
- aws_cdk/aws_s3express/__init__.py +789 -0
- aws_cdk/aws_ses/__init__.py +300 -32
- aws_cdk/aws_sns_subscriptions/__init__.py +256 -1
- aws_cdk/aws_stepfunctions/__init__.py +55 -17
- aws_cdk/aws_synthetics/__init__.py +26 -16
- aws_cdk/aws_voiceid/__init__.py +13 -3
- aws_cdk/cloud_assembly_schema/__init__.py +137 -42
- aws_cdk/cx_api/__init__.py +7 -7
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/RECORD +49 -49
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -1956,7 +1956,11 @@ class AppProps:
|
|
|
1956
1956
|
default_stack_synthesizer=AppStagingSynthesizer.default_resources(
|
|
1957
1957
|
app_id="my-app-id",
|
|
1958
1958
|
staging_bucket_encryption=BucketEncryption.S3_MANAGED,
|
|
1959
|
-
deployment_identities=DeploymentIdentities.
|
|
1959
|
+
deployment_identities=DeploymentIdentities.specify_roles(
|
|
1960
|
+
cloud_formation_execution_role=BootstrapRole.from_role_arn("arn:aws:iam::123456789012:role/Execute"),
|
|
1961
|
+
deployment_role=BootstrapRole.from_role_arn("arn:aws:iam::123456789012:role/Deploy"),
|
|
1962
|
+
lookup_role=BootstrapRole.from_role_arn("arn:aws:iam::123456789012:role/Lookup")
|
|
1963
|
+
)
|
|
1960
1964
|
)
|
|
1961
1965
|
)
|
|
1962
1966
|
'''
|
|
@@ -9204,7 +9208,7 @@ class CfnStackSetProps:
|
|
|
9204
9208
|
:param permission_model: Describes how the IAM roles required for stack set operations are created. - With ``SELF_MANAGED`` permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . - With ``SERVICE_MANAGED`` permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by AWS Organizations . For more information, see `Activate trusted access for stack sets with AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html>`_ in the *AWS CloudFormation User Guide* .
|
|
9205
9209
|
:param stack_set_name: The name to associate with the stack set. The name must be unique in the Region where you create your stack set.
|
|
9206
9210
|
:param administration_role_arn: The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . Valid only if the permissions model is ``SELF_MANAGED`` .
|
|
9207
|
-
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `
|
|
9211
|
+
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `Enable or disable automatic deployments for StackSets in AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* . Required if the permissions model is ``SERVICE_MANAGED`` . (Not used with self-managed permissions.)
|
|
9208
9212
|
:param call_as: Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, ``SELF`` is specified. Use ``SELF`` for stack sets with self-managed permissions. - To create a stack set with service-managed permissions while signed in to the management account, specify ``SELF`` . - To create a stack set with service-managed permissions while signed in to a delegated administrator account, specify ``DELEGATED_ADMIN`` . Your AWS account must be registered as a delegated admin in the management account. For more information, see `Register a delegated administrator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html>`_ in the *AWS CloudFormation User Guide* . Stack sets with service-managed permissions are created in the management account, including stack sets that are created by delegated administrators. Valid only if the permissions model is ``SERVICE_MANAGED`` .
|
|
9209
9213
|
:param capabilities: The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account —for example, by creating new IAM users. For more information, see `Acknowledging IAM resources in CloudFormation templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities>`_ in the *AWS CloudFormation User Guide* .
|
|
9210
9214
|
:param description: A description of the stack set.
|
|
@@ -9373,7 +9377,7 @@ class CfnStackSetProps:
|
|
|
9373
9377
|
) -> typing.Optional[typing.Union["IResolvable", "CfnStackSet.AutoDeploymentProperty"]]:
|
|
9374
9378
|
'''Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).
|
|
9375
9379
|
|
|
9376
|
-
For more information, see `
|
|
9380
|
+
For more information, see `Enable or disable automatic deployments for StackSets in AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* .
|
|
9377
9381
|
|
|
9378
9382
|
Required if the permissions model is ``SERVICE_MANAGED`` . (Not used with self-managed permissions.)
|
|
9379
9383
|
|
|
@@ -30656,12 +30660,10 @@ class CfnHookVersion(
|
|
|
30656
30660
|
@builtins.property
|
|
30657
30661
|
@jsii.member(jsii_name="attrVisibility")
|
|
30658
30662
|
def attr_visibility(self) -> builtins.str:
|
|
30659
|
-
'''The
|
|
30660
|
-
|
|
30661
|
-
Valid values include:
|
|
30663
|
+
'''The visibility level that determines who can see and use this Hook in CloudFormation operations:.
|
|
30662
30664
|
|
|
30663
|
-
- ``PRIVATE`` : The
|
|
30664
|
-
- ``PUBLIC`` : The
|
|
30665
|
+
- ``PRIVATE`` : The Hook is only visible and usable within the account where it was registered. CloudFormation automatically marks any Hooks you register as ``PRIVATE`` .
|
|
30666
|
+
- ``PUBLIC`` : The Hook is publicly visible and usable within any AWS account.
|
|
30665
30667
|
|
|
30666
30668
|
:cloudformationAttribute: Visibility
|
|
30667
30669
|
'''
|
|
@@ -32178,12 +32180,10 @@ class CfnModuleVersion(
|
|
|
32178
32180
|
@builtins.property
|
|
32179
32181
|
@jsii.member(jsii_name="attrVisibility")
|
|
32180
32182
|
def attr_visibility(self) -> builtins.str:
|
|
32181
|
-
'''The
|
|
32183
|
+
'''The visibility level that determines who can see and use this module in CloudFormation operations:.
|
|
32182
32184
|
|
|
32183
|
-
|
|
32184
|
-
|
|
32185
|
-
- ``PRIVATE`` : The extension (module) is only visible and usable within the account in which it is registered. CloudFormation marks any extensions you register as ``PRIVATE`` .
|
|
32186
|
-
- ``PUBLIC`` : The extension (module) is publicly visible and usable within any AWS account.
|
|
32185
|
+
- ``PRIVATE`` : The module is only visible and usable within the account where it was registered. CloudFormation automatically marks any modules you register as ``PRIVATE`` .
|
|
32186
|
+
- ``PUBLIC`` : The module is publicly visible and usable within any AWS account.
|
|
32187
32187
|
|
|
32188
32188
|
:cloudformationAttribute: Visibility
|
|
32189
32189
|
'''
|
|
@@ -32853,7 +32853,7 @@ class CfnResourceVersion(
|
|
|
32853
32853
|
|
|
32854
32854
|
CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
|
|
32855
32855
|
|
|
32856
|
-
|
|
32856
|
+
Possible values:
|
|
32857
32857
|
|
|
32858
32858
|
- ``FULLY_MUTABLE`` : The resource type includes an update handler to process updates to the type during stack update operations.
|
|
32859
32859
|
- ``IMMUTABLE`` : The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations.
|
|
@@ -32889,12 +32889,10 @@ class CfnResourceVersion(
|
|
|
32889
32889
|
@builtins.property
|
|
32890
32890
|
@jsii.member(jsii_name="attrVisibility")
|
|
32891
32891
|
def attr_visibility(self) -> builtins.str:
|
|
32892
|
-
'''The
|
|
32893
|
-
|
|
32894
|
-
Valid values include:
|
|
32892
|
+
'''The visibility level that determines who can see and use this resource in CloudFormation operations:.
|
|
32895
32893
|
|
|
32896
|
-
- ``PRIVATE`` : The
|
|
32897
|
-
- ``PUBLIC`` : The
|
|
32894
|
+
- ``PRIVATE`` : The resource is only visible and usable within the account where it was registered. CloudFormation automatically marks any resources you register as ``PRIVATE`` .
|
|
32895
|
+
- ``PUBLIC`` : The resource is publicly visible and usable within any AWS account.
|
|
32898
32896
|
|
|
32899
32897
|
:cloudformationAttribute: Visibility
|
|
32900
32898
|
'''
|
|
@@ -33037,7 +33035,7 @@ class CfnResourceVersion(
|
|
|
33037
33035
|
class CfnStack(CfnResource, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.CfnStack"):
|
|
33038
33036
|
'''The ``AWS::CloudFormation::Stack`` resource nests a stack as a resource in a top-level template.
|
|
33039
33037
|
|
|
33040
|
-
For more information, see `
|
|
33038
|
+
For more information, see `Nested stacks <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html>`_ in the *AWS CloudFormation User Guide* .
|
|
33041
33039
|
|
|
33042
33040
|
You can add output values from a nested stack within the containing template. You use the `GetAtt <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html>`_ function with the nested stack's logical name and the name of the output value in the nested stack in the format ``Outputs. *NestedStackOutputName*`` .
|
|
33043
33041
|
|
|
@@ -33045,7 +33043,7 @@ class CfnStack(CfnResource, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.CfnS
|
|
|
33045
33043
|
|
|
33046
33044
|
When you apply template changes to update a top-level stack, CloudFormation updates the top-level stack and initiates an update to its nested stacks. CloudFormation updates the resources of modified nested stacks, but doesn't update the resources of unmodified nested stacks.
|
|
33047
33045
|
|
|
33048
|
-
|
|
33046
|
+
For stacks that contain IAM resources, you must acknowledge IAM capabilities. Also, make sure that you have cancel update stack permissions, which are required if an update rolls back. For more information about IAM and CloudFormation , see `Controlling access with AWS Identity and Access Management <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html>`_ in the *AWS CloudFormation User Guide* .
|
|
33049
33047
|
.. epigraph::
|
|
33050
33048
|
|
|
33051
33049
|
A subset of ``AWS::CloudFormation::Stack`` resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control to configure.
|
|
@@ -33211,7 +33209,7 @@ class CfnStack(CfnResource, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.CfnS
|
|
|
33211
33209
|
@builtins.property
|
|
33212
33210
|
@jsii.member(jsii_name="attrParentId")
|
|
33213
33211
|
def attr_parent_id(self) -> builtins.str:
|
|
33214
|
-
'''For nested stacks
|
|
33212
|
+
'''For nested stacks, returns the stack ID of the direct parent of this stack.
|
|
33215
33213
|
|
|
33216
33214
|
For the first level of nested stacks, the root stack is also the parent stack.
|
|
33217
33215
|
|
|
@@ -33222,7 +33220,7 @@ class CfnStack(CfnResource, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.CfnS
|
|
|
33222
33220
|
@builtins.property
|
|
33223
33221
|
@jsii.member(jsii_name="attrRootId")
|
|
33224
33222
|
def attr_root_id(self) -> builtins.str:
|
|
33225
|
-
'''For nested stacks
|
|
33223
|
+
'''For nested stacks, returns the stack ID of the top-level stack to which the nested stack ultimately belongs.
|
|
33226
33224
|
|
|
33227
33225
|
:cloudformationAttribute: RootId
|
|
33228
33226
|
'''
|
|
@@ -33540,7 +33538,7 @@ class CfnStackSet(
|
|
|
33540
33538
|
:param permission_model: Describes how the IAM roles required for stack set operations are created. - With ``SELF_MANAGED`` permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . - With ``SERVICE_MANAGED`` permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by AWS Organizations . For more information, see `Activate trusted access for stack sets with AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html>`_ in the *AWS CloudFormation User Guide* .
|
|
33541
33539
|
:param stack_set_name: The name to associate with the stack set. The name must be unique in the Region where you create your stack set.
|
|
33542
33540
|
:param administration_role_arn: The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . Valid only if the permissions model is ``SELF_MANAGED`` .
|
|
33543
|
-
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `
|
|
33541
|
+
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `Enable or disable automatic deployments for StackSets in AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* . Required if the permissions model is ``SERVICE_MANAGED`` . (Not used with self-managed permissions.)
|
|
33544
33542
|
:param call_as: Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, ``SELF`` is specified. Use ``SELF`` for stack sets with self-managed permissions. - To create a stack set with service-managed permissions while signed in to the management account, specify ``SELF`` . - To create a stack set with service-managed permissions while signed in to a delegated administrator account, specify ``DELEGATED_ADMIN`` . Your AWS account must be registered as a delegated admin in the management account. For more information, see `Register a delegated administrator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html>`_ in the *AWS CloudFormation User Guide* . Stack sets with service-managed permissions are created in the management account, including stack sets that are created by delegated administrators. Valid only if the permissions model is ``SERVICE_MANAGED`` .
|
|
33545
33543
|
:param capabilities: The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account —for example, by creating new IAM users. For more information, see `Acknowledging IAM resources in CloudFormation templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities>`_ in the *AWS CloudFormation User Guide* .
|
|
33546
33544
|
:param description: A description of the stack set.
|
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.200.1", __name__[0:-6], "aws-cdk-lib@2.200.1.jsii.tgz"
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
__all__ = [
|
|
Binary file
|
aws_cdk/aws_acmpca/__init__.py
CHANGED
|
@@ -118,7 +118,7 @@ class CertificateAuthority(
|
|
|
118
118
|
|
|
119
119
|
cluster = msk.Cluster(self, "Cluster",
|
|
120
120
|
cluster_name="myCluster",
|
|
121
|
-
kafka_version=msk.KafkaVersion.
|
|
121
|
+
kafka_version=msk.KafkaVersion.V4_0_X_KRAFT,
|
|
122
122
|
vpc=vpc,
|
|
123
123
|
encryption_in_transit=msk.EncryptionInTransitConfig(
|
|
124
124
|
client_broker=msk.ClientBrokerEncryption.TLS
|
|
@@ -7740,7 +7740,7 @@ class CfnDomainName(
|
|
|
7740
7740
|
):
|
|
7741
7741
|
'''The ``AWS::ApiGateway::DomainName`` resource specifies a public custom domain name for your API in API Gateway.
|
|
7742
7742
|
|
|
7743
|
-
To create a custom domain name for private APIs, use `AWS::ApiGateway::
|
|
7743
|
+
To create a custom domain name for private APIs, use `AWS::ApiGateway::DomainNameV2 <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html>`_ .
|
|
7744
7744
|
|
|
7745
7745
|
You can use a custom domain name to provide a URL that's more intuitive and easier to recall. For more information about using custom domain names, see `Set up Custom Domain Name for an API in API Gateway <https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html>`_ in the *API Gateway Developer Guide* .
|
|
7746
7746
|
|
|
@@ -326,7 +326,7 @@ class AdjustmentTier:
|
|
|
326
326
|
) -> None:
|
|
327
327
|
'''An adjustment.
|
|
328
328
|
|
|
329
|
-
:param adjustment: What number to adjust the capacity with. The number is
|
|
329
|
+
:param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
|
|
330
330
|
:param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
|
|
331
331
|
:param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
|
|
332
332
|
|
|
@@ -363,7 +363,7 @@ class AdjustmentTier:
|
|
|
363
363
|
def adjustment(self) -> jsii.Number:
|
|
364
364
|
'''What number to adjust the capacity with.
|
|
365
365
|
|
|
366
|
-
The number is
|
|
366
|
+
The number is interpreted as an added capacity, a new fixed capacity or an
|
|
367
367
|
added percentage depending on the AdjustmentType value of the
|
|
368
368
|
StepScalingPolicy.
|
|
369
369
|
|
|
@@ -6741,9 +6741,9 @@ class StepScalingAction(
|
|
|
6741
6741
|
lower_bound: typing.Optional[jsii.Number] = None,
|
|
6742
6742
|
upper_bound: typing.Optional[jsii.Number] = None,
|
|
6743
6743
|
) -> None:
|
|
6744
|
-
'''Add an
|
|
6744
|
+
'''Add an adjustment interval to the ScalingAction.
|
|
6745
6745
|
|
|
6746
|
-
:param adjustment: What number to adjust the capacity with. The number is
|
|
6746
|
+
:param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
|
|
6747
6747
|
:param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
|
|
6748
6748
|
:param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
|
|
6749
6749
|
'''
|
aws_cdk/aws_aps/__init__.py
CHANGED
|
@@ -428,7 +428,7 @@ class CfnScraper(
|
|
|
428
428
|
:param scrape_configuration: The configuration in use by the scraper.
|
|
429
429
|
:param source: The Amazon EKS cluster from which the scraper collects metrics.
|
|
430
430
|
:param alias: An optional user-assigned scraper alias.
|
|
431
|
-
:param role_configuration:
|
|
431
|
+
:param role_configuration: The role configuration in an Amazon Managed Service for Prometheus scraper.
|
|
432
432
|
:param tags: (Optional) The list of tag keys and values associated with the scraper.
|
|
433
433
|
'''
|
|
434
434
|
if __debug__:
|
|
@@ -592,7 +592,7 @@ class CfnScraper(
|
|
|
592
592
|
def role_configuration(
|
|
593
593
|
self,
|
|
594
594
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.RoleConfigurationProperty"]]:
|
|
595
|
-
'''
|
|
595
|
+
'''The role configuration in an Amazon Managed Service for Prometheus scraper.'''
|
|
596
596
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScraper.RoleConfigurationProperty"]], jsii.get(self, "roleConfiguration"))
|
|
597
597
|
|
|
598
598
|
@role_configuration.setter
|
|
@@ -837,10 +837,10 @@ class CfnScraper(
|
|
|
837
837
|
source_role_arn: typing.Optional[builtins.str] = None,
|
|
838
838
|
target_role_arn: typing.Optional[builtins.str] = None,
|
|
839
839
|
) -> None:
|
|
840
|
-
'''
|
|
840
|
+
'''The role configuration in an Amazon Managed Service for Prometheus scraper.
|
|
841
841
|
|
|
842
|
-
:param source_role_arn:
|
|
843
|
-
:param target_role_arn:
|
|
842
|
+
:param source_role_arn: The ARN of the source role.
|
|
843
|
+
:param target_role_arn: The ARN of the target role.
|
|
844
844
|
|
|
845
845
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html
|
|
846
846
|
:exampleMetadata: fixture=_generated
|
|
@@ -868,7 +868,7 @@ class CfnScraper(
|
|
|
868
868
|
|
|
869
869
|
@builtins.property
|
|
870
870
|
def source_role_arn(self) -> typing.Optional[builtins.str]:
|
|
871
|
-
'''
|
|
871
|
+
'''The ARN of the source role.
|
|
872
872
|
|
|
873
873
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html#cfn-aps-scraper-roleconfiguration-sourcerolearn
|
|
874
874
|
'''
|
|
@@ -877,7 +877,7 @@ class CfnScraper(
|
|
|
877
877
|
|
|
878
878
|
@builtins.property
|
|
879
879
|
def target_role_arn(self) -> typing.Optional[builtins.str]:
|
|
880
|
-
'''
|
|
880
|
+
'''The ARN of the target role.
|
|
881
881
|
|
|
882
882
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html#cfn-aps-scraper-roleconfiguration-targetrolearn
|
|
883
883
|
'''
|
|
@@ -1043,7 +1043,7 @@ class CfnScraperProps:
|
|
|
1043
1043
|
:param scrape_configuration: The configuration in use by the scraper.
|
|
1044
1044
|
:param source: The Amazon EKS cluster from which the scraper collects metrics.
|
|
1045
1045
|
:param alias: An optional user-assigned scraper alias.
|
|
1046
|
-
:param role_configuration:
|
|
1046
|
+
:param role_configuration: The role configuration in an Amazon Managed Service for Prometheus scraper.
|
|
1047
1047
|
:param tags: (Optional) The list of tag keys and values associated with the scraper.
|
|
1048
1048
|
|
|
1049
1049
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
|
|
@@ -1153,7 +1153,7 @@ class CfnScraperProps:
|
|
|
1153
1153
|
def role_configuration(
|
|
1154
1154
|
self,
|
|
1155
1155
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnScraper.RoleConfigurationProperty]]:
|
|
1156
|
-
'''
|
|
1156
|
+
'''The role configuration in an Amazon Managed Service for Prometheus scraper.
|
|
1157
1157
|
|
|
1158
1158
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html#cfn-aps-scraper-roleconfiguration
|
|
1159
1159
|
'''
|
|
@@ -1254,8 +1254,8 @@ class CfnWorkspace(
|
|
|
1254
1254
|
: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
1255
|
:param alias: The alias that is assigned to this workspace to help identify it. It does not need to be unique.
|
|
1256
1256
|
: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 logging configuration for the workspace.
|
|
1258
|
-
:param query_logging_configuration:
|
|
1257
|
+
:param logging_configuration: Contains information about the current rules and alerting logging configuration for the workspace. .. epigraph:: These logging configurations are only for rules and alerting logs.
|
|
1258
|
+
:param query_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
|
|
1259
1259
|
:param tags: The list of tag keys and values that are associated with the workspace.
|
|
1260
1260
|
: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.
|
|
1261
1261
|
'''
|
|
@@ -1393,7 +1393,7 @@ class CfnWorkspace(
|
|
|
1393
1393
|
def logging_configuration(
|
|
1394
1394
|
self,
|
|
1395
1395
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingConfigurationProperty"]]:
|
|
1396
|
-
'''Contains information about the logging configuration for the workspace.'''
|
|
1396
|
+
'''Contains information about the current rules and alerting logging configuration for the workspace.'''
|
|
1397
1397
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingConfigurationProperty"]], jsii.get(self, "loggingConfiguration"))
|
|
1398
1398
|
|
|
1399
1399
|
@logging_configuration.setter
|
|
@@ -1411,7 +1411,7 @@ class CfnWorkspace(
|
|
|
1411
1411
|
def query_logging_configuration(
|
|
1412
1412
|
self,
|
|
1413
1413
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.QueryLoggingConfigurationProperty"]]:
|
|
1414
|
-
'''
|
|
1414
|
+
'''The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.'''
|
|
1415
1415
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.QueryLoggingConfigurationProperty"]], jsii.get(self, "queryLoggingConfiguration"))
|
|
1416
1416
|
|
|
1417
1417
|
@query_logging_configuration.setter
|
|
@@ -1462,9 +1462,9 @@ class CfnWorkspace(
|
|
|
1462
1462
|
)
|
|
1463
1463
|
class CloudWatchLogDestinationProperty:
|
|
1464
1464
|
def __init__(self, *, log_group_arn: builtins.str) -> None:
|
|
1465
|
-
'''
|
|
1465
|
+
'''Configuration details for logging to CloudWatch Logs.
|
|
1466
1466
|
|
|
1467
|
-
:param log_group_arn: The ARN of the CloudWatch
|
|
1467
|
+
:param log_group_arn: The ARN of the CloudWatch log group.
|
|
1468
1468
|
|
|
1469
1469
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-cloudwatchlogdestination.html
|
|
1470
1470
|
:exampleMetadata: fixture=_generated
|
|
@@ -1488,7 +1488,7 @@ class CfnWorkspace(
|
|
|
1488
1488
|
|
|
1489
1489
|
@builtins.property
|
|
1490
1490
|
def log_group_arn(self) -> builtins.str:
|
|
1491
|
-
'''The ARN of the CloudWatch
|
|
1491
|
+
'''The ARN of the CloudWatch log group.
|
|
1492
1492
|
|
|
1493
1493
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-cloudwatchlogdestination.html#cfn-aps-workspace-cloudwatchlogdestination-loggrouparn
|
|
1494
1494
|
'''
|
|
@@ -1725,7 +1725,11 @@ class CfnWorkspace(
|
|
|
1725
1725
|
*,
|
|
1726
1726
|
log_group_arn: typing.Optional[builtins.str] = None,
|
|
1727
1727
|
) -> None:
|
|
1728
|
-
'''Contains information about the logging configuration for the workspace.
|
|
1728
|
+
'''Contains information about the rules and alerting logging configuration for the workspace.
|
|
1729
|
+
|
|
1730
|
+
.. epigraph::
|
|
1731
|
+
|
|
1732
|
+
These logging configurations are only for rules and alerting logs.
|
|
1729
1733
|
|
|
1730
1734
|
:param log_group_arn: The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this operation.
|
|
1731
1735
|
|
|
@@ -1783,10 +1787,10 @@ class CfnWorkspace(
|
|
|
1783
1787
|
cloud_watch_logs: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.CloudWatchLogDestinationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1784
1788
|
filters: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LoggingFilterProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1785
1789
|
) -> None:
|
|
1786
|
-
'''
|
|
1790
|
+
'''The logging destination in an Amazon Managed Service for Prometheus workspace.
|
|
1787
1791
|
|
|
1788
|
-
:param cloud_watch_logs:
|
|
1789
|
-
:param filters:
|
|
1792
|
+
:param cloud_watch_logs: Configuration details for logging to CloudWatch Logs.
|
|
1793
|
+
:param filters: Filtering criteria that determine which queries are logged.
|
|
1790
1794
|
|
|
1791
1795
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html
|
|
1792
1796
|
:exampleMetadata: fixture=_generated
|
|
@@ -1819,7 +1823,7 @@ class CfnWorkspace(
|
|
|
1819
1823
|
def cloud_watch_logs(
|
|
1820
1824
|
self,
|
|
1821
1825
|
) -> typing.Union[_IResolvable_da3f097b, "CfnWorkspace.CloudWatchLogDestinationProperty"]:
|
|
1822
|
-
'''
|
|
1826
|
+
'''Configuration details for logging to CloudWatch Logs.
|
|
1823
1827
|
|
|
1824
1828
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html#cfn-aps-workspace-loggingdestination-cloudwatchlogs
|
|
1825
1829
|
'''
|
|
@@ -1831,7 +1835,7 @@ class CfnWorkspace(
|
|
|
1831
1835
|
def filters(
|
|
1832
1836
|
self,
|
|
1833
1837
|
) -> typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingFilterProperty"]:
|
|
1834
|
-
'''
|
|
1838
|
+
'''Filtering criteria that determine which queries are logged.
|
|
1835
1839
|
|
|
1836
1840
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html#cfn-aps-workspace-loggingdestination-filters
|
|
1837
1841
|
'''
|
|
@@ -1857,7 +1861,7 @@ class CfnWorkspace(
|
|
|
1857
1861
|
)
|
|
1858
1862
|
class LoggingFilterProperty:
|
|
1859
1863
|
def __init__(self, *, qsp_threshold: jsii.Number) -> None:
|
|
1860
|
-
'''
|
|
1864
|
+
'''Filtering criteria that determine which queries are logged.
|
|
1861
1865
|
|
|
1862
1866
|
:param qsp_threshold: Query logs with QSP above this limit are vended.
|
|
1863
1867
|
|
|
@@ -1913,9 +1917,9 @@ class CfnWorkspace(
|
|
|
1913
1917
|
*,
|
|
1914
1918
|
destinations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LoggingDestinationProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
1915
1919
|
) -> None:
|
|
1916
|
-
'''
|
|
1920
|
+
'''The query logging configuration in an Amazon Managed Service for Prometheus workspace.
|
|
1917
1921
|
|
|
1918
|
-
:param destinations:
|
|
1922
|
+
:param destinations: Defines a destination and its associated filtering criteria for query logging.
|
|
1919
1923
|
|
|
1920
1924
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-queryloggingconfiguration.html
|
|
1921
1925
|
:exampleMetadata: fixture=_generated
|
|
@@ -1948,7 +1952,7 @@ class CfnWorkspace(
|
|
|
1948
1952
|
def destinations(
|
|
1949
1953
|
self,
|
|
1950
1954
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingDestinationProperty"]]]:
|
|
1951
|
-
'''
|
|
1955
|
+
'''Defines a destination and its associated filtering criteria for query logging.
|
|
1952
1956
|
|
|
1953
1957
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-queryloggingconfiguration.html#cfn-aps-workspace-queryloggingconfiguration-destinations
|
|
1954
1958
|
'''
|
|
@@ -2083,8 +2087,8 @@ class CfnWorkspaceProps:
|
|
|
2083
2087
|
: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}' -``
|
|
2084
2088
|
:param alias: The alias that is assigned to this workspace to help identify it. It does not need to be unique.
|
|
2085
2089
|
: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* .
|
|
2086
|
-
:param logging_configuration: Contains information about the logging configuration for the workspace.
|
|
2087
|
-
:param query_logging_configuration:
|
|
2090
|
+
:param logging_configuration: Contains information about the current rules and alerting logging configuration for the workspace. .. epigraph:: These logging configurations are only for rules and alerting logs.
|
|
2091
|
+
:param query_logging_configuration: The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
|
|
2088
2092
|
:param tags: The list of tag keys and values that are associated with the workspace.
|
|
2089
2093
|
: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.
|
|
2090
2094
|
|
|
@@ -2198,7 +2202,11 @@ class CfnWorkspaceProps:
|
|
|
2198
2202
|
def logging_configuration(
|
|
2199
2203
|
self,
|
|
2200
2204
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.LoggingConfigurationProperty]]:
|
|
2201
|
-
'''Contains information about the logging configuration for the workspace.
|
|
2205
|
+
'''Contains information about the current rules and alerting logging configuration for the workspace.
|
|
2206
|
+
|
|
2207
|
+
.. epigraph::
|
|
2208
|
+
|
|
2209
|
+
These logging configurations are only for rules and alerting logs.
|
|
2202
2210
|
|
|
2203
2211
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-loggingconfiguration
|
|
2204
2212
|
'''
|
|
@@ -2209,7 +2217,7 @@ class CfnWorkspaceProps:
|
|
|
2209
2217
|
def query_logging_configuration(
|
|
2210
2218
|
self,
|
|
2211
2219
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.QueryLoggingConfigurationProperty]]:
|
|
2212
|
-
'''
|
|
2220
|
+
'''The definition of logging configuration in an Amazon Managed Service for Prometheus workspace.
|
|
2213
2221
|
|
|
2214
2222
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-queryloggingconfiguration
|
|
2215
2223
|
'''
|
|
@@ -1061,7 +1061,7 @@ class AdjustmentTier:
|
|
|
1061
1061
|
) -> None:
|
|
1062
1062
|
'''An adjustment.
|
|
1063
1063
|
|
|
1064
|
-
:param adjustment: What number to adjust the capacity with. The number is
|
|
1064
|
+
:param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
|
|
1065
1065
|
:param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
|
|
1066
1066
|
:param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
|
|
1067
1067
|
|
|
@@ -1098,7 +1098,7 @@ class AdjustmentTier:
|
|
|
1098
1098
|
def adjustment(self) -> jsii.Number:
|
|
1099
1099
|
'''What number to adjust the capacity with.
|
|
1100
1100
|
|
|
1101
|
-
The number is
|
|
1101
|
+
The number is interpreted as an added capacity, a new fixed capacity or an
|
|
1102
1102
|
added percentage depending on the AdjustmentType value of the
|
|
1103
1103
|
StepScalingPolicy.
|
|
1104
1104
|
|
|
@@ -18238,9 +18238,9 @@ class StepScalingAction(
|
|
|
18238
18238
|
lower_bound: typing.Optional[jsii.Number] = None,
|
|
18239
18239
|
upper_bound: typing.Optional[jsii.Number] = None,
|
|
18240
18240
|
) -> None:
|
|
18241
|
-
'''Add an
|
|
18241
|
+
'''Add an adjustment interval to the ScalingAction.
|
|
18242
18242
|
|
|
18243
|
-
:param adjustment: What number to adjust the capacity with. The number is
|
|
18243
|
+
:param adjustment: What number to adjust the capacity with. The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy. Can be positive or negative.
|
|
18244
18244
|
:param lower_bound: Lower bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value. Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
|
|
18245
18245
|
:param upper_bound: Upper bound where this scaling tier applies. The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value. Default: +Infinity
|
|
18246
18246
|
'''
|