aws-cdk-lib 2.185.0__py3-none-any.whl → 2.187.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 +383 -145
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.185.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplify/__init__.py +124 -0
- aws_cdk/aws_apigateway/__init__.py +48 -2
- aws_cdk/aws_apigatewayv2/__init__.py +9 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationsignals/__init__.py +363 -3
- aws_cdk/aws_appsync/__init__.py +74 -3
- aws_cdk/aws_bedrock/__init__.py +395 -14
- aws_cdk/aws_cassandra/__init__.py +2 -2
- aws_cdk/aws_cleanrooms/__init__.py +21 -9
- aws_cdk/aws_cloudformation/__init__.py +1 -5
- aws_cdk/aws_cloudfront/__init__.py +15 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -18
- aws_cdk/aws_cloudwatch/__init__.py +50 -50
- aws_cdk/aws_codeartifact/__init__.py +20 -33
- aws_cdk/aws_codebuild/__init__.py +9 -0
- aws_cdk/aws_codepipeline/__init__.py +1328 -120
- aws_cdk/aws_cognito/__init__.py +1 -1
- aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
- aws_cdk/aws_config/__init__.py +2 -5
- aws_cdk/aws_connect/__init__.py +3 -7
- aws_cdk/aws_controltower/__init__.py +18 -26
- aws_cdk/aws_datazone/__init__.py +3540 -10
- aws_cdk/aws_detective/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +37 -0
- aws_cdk/aws_ec2/__init__.py +714 -37
- aws_cdk/aws_ecr/__init__.py +143 -0
- aws_cdk/aws_ecr_assets/__init__.py +115 -4
- aws_cdk/aws_ecs/__init__.py +66 -20
- aws_cdk/aws_eks/__init__.py +114 -0
- aws_cdk/aws_events/__init__.py +26 -6
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +2 -2
- aws_cdk/aws_gamelift/__init__.py +11 -11
- aws_cdk/aws_iam/__init__.py +264 -0
- aws_cdk/aws_identitystore/__init__.py +16 -16
- aws_cdk/aws_imagebuilder/__init__.py +3 -27
- aws_cdk/aws_iotsitewise/__init__.py +623 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -3
- aws_cdk/aws_kms/__init__.py +10 -11
- aws_cdk/aws_lakeformation/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +112 -5
- aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
- aws_cdk/aws_lex/__init__.py +981 -5
- aws_cdk/aws_location/__init__.py +24 -7
- aws_cdk/aws_mediaconnect/__init__.py +714 -290
- aws_cdk/aws_msk/__init__.py +8 -2
- aws_cdk/aws_mwaa/__init__.py +9 -9
- aws_cdk/aws_networkfirewall/__init__.py +60 -12
- aws_cdk/aws_oam/__init__.py +8 -37
- aws_cdk/aws_omics/__init__.py +216 -0
- aws_cdk/aws_quicksight/__init__.py +250 -108
- aws_cdk/aws_rds/__init__.py +102 -10
- aws_cdk/aws_redshiftserverless/__init__.py +192 -15
- aws_cdk/aws_route53/__init__.py +2 -2
- aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
- aws_cdk/aws_rum/__init__.py +315 -52
- aws_cdk/aws_s3_assets/__init__.py +70 -1
- aws_cdk/aws_s3_deployment/__init__.py +4 -0
- aws_cdk/aws_sagemaker/__init__.py +6 -4
- aws_cdk/aws_scheduler/__init__.py +3944 -121
- aws_cdk/aws_scheduler_targets/__init__.py +4460 -0
- aws_cdk/aws_securitylake/__init__.py +2 -2
- aws_cdk/aws_servicecatalog/__init__.py +4 -0
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
- aws_cdk/aws_synthetics/__init__.py +9 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
- aws_cdk/aws_timestream/__init__.py +4 -4
- aws_cdk/aws_wafv2/__init__.py +1117 -1446
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/cloud_assembly_schema/__init__.py +60 -10
- aws_cdk/cx_api/__init__.py +38 -0
- aws_cdk/pipelines/__init__.py +20 -2
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +87 -85
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_msk/__init__.py
CHANGED
|
@@ -3575,7 +3575,7 @@ class CfnConfiguration(
|
|
|
3575
3575
|
:param name: The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
|
|
3576
3576
|
:param server_properties: Contents of the ``server.properties`` file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents of ``server.properties`` can be in plaintext.
|
|
3577
3577
|
:param description: The description of the configuration.
|
|
3578
|
-
:param kafka_versions_list: The `versions of Apache Kafka <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration.
|
|
3578
|
+
:param kafka_versions_list: The `versions of Apache Kafka <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration. When you update the ``KafkaVersionsList`` property, AWS CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a `resource replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ . To successfully update ``KafkaVersionsList`` , you must also update the ``Name`` property in the same operation. If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes. For more information, see `Can’t update KafkaVersionsList in MSK configuration <https://docs.aws.amazon.com/msk/latest/developerguide/troubleshooting.html#troubleshoot-kafkaversionslist-cfn-update-failure>`_ in the *Amazon MSK Developer Guide* .
|
|
3579
3579
|
:param latest_revision: Latest revision of the MSK configuration.
|
|
3580
3580
|
'''
|
|
3581
3581
|
if __debug__:
|
|
@@ -3852,7 +3852,7 @@ class CfnConfigurationProps:
|
|
|
3852
3852
|
:param name: The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
|
|
3853
3853
|
:param server_properties: Contents of the ``server.properties`` file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents of ``server.properties`` can be in plaintext.
|
|
3854
3854
|
:param description: The description of the configuration.
|
|
3855
|
-
:param kafka_versions_list: The `versions of Apache Kafka <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration.
|
|
3855
|
+
:param kafka_versions_list: The `versions of Apache Kafka <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration. When you update the ``KafkaVersionsList`` property, AWS CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a `resource replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ . To successfully update ``KafkaVersionsList`` , you must also update the ``Name`` property in the same operation. If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes. For more information, see `Can’t update KafkaVersionsList in MSK configuration <https://docs.aws.amazon.com/msk/latest/developerguide/troubleshooting.html#troubleshoot-kafkaversionslist-cfn-update-failure>`_ in the *Amazon MSK Developer Guide* .
|
|
3856
3856
|
:param latest_revision: Latest revision of the MSK configuration.
|
|
3857
3857
|
|
|
3858
3858
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html
|
|
@@ -3931,6 +3931,12 @@ class CfnConfigurationProps:
|
|
|
3931
3931
|
def kafka_versions_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
3932
3932
|
'''The `versions of Apache Kafka <https://docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration.
|
|
3933
3933
|
|
|
3934
|
+
When you update the ``KafkaVersionsList`` property, AWS CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a `resource replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ . To successfully update ``KafkaVersionsList`` , you must also update the ``Name`` property in the same operation.
|
|
3935
|
+
|
|
3936
|
+
If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes.
|
|
3937
|
+
|
|
3938
|
+
For more information, see `Can’t update KafkaVersionsList in MSK configuration <https://docs.aws.amazon.com/msk/latest/developerguide/troubleshooting.html#troubleshoot-kafkaversionslist-cfn-update-failure>`_ in the *Amazon MSK Developer Guide* .
|
|
3939
|
+
|
|
3934
3940
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-kafkaversionslist
|
|
3935
3941
|
'''
|
|
3936
3942
|
result = self._values.get("kafka_versions_list")
|
aws_cdk/aws_mwaa/__init__.py
CHANGED
|
@@ -185,10 +185,10 @@ class CfnEnvironment(
|
|
|
185
185
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
186
186
|
:param name: The name of your Amazon MWAA environment.
|
|
187
187
|
:param airflow_configuration_options: A list of key-value pairs containing the Airflow configuration options for your environment. For example, ``core.default_timezone: utc`` . To learn more, see `Apache Airflow configuration options <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html>`_ .
|
|
188
|
-
:param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` (latest)
|
|
188
|
+
:param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` | ``2.10.1`` (latest)
|
|
189
189
|
:param dag_s3_path: The relative path to the DAGs folder on your Amazon S3 bucket. For example, ``dags`` . To learn more, see `Adding or updating DAGs <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html>`_ .
|
|
190
190
|
:param endpoint_management: Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to ``SERVICE`` , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to ``CUSTOMER`` , you must create, and manage, the VPC endpoints in your VPC.
|
|
191
|
-
:param environment_class: The environment class type. Valid values: ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
|
|
191
|
+
:param environment_class: The environment class type. Valid values: ``mw1.micro`` , ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` , ``mw1.1large`` , and ``mw1.2large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
|
|
192
192
|
:param execution_role_arn: The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, ``arn:aws:iam::123456789:role/my-execution-role`` . To learn more, see `Amazon MWAA Execution role <https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html>`_ .
|
|
193
193
|
:param kms_key: The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
|
|
194
194
|
:param logging_configuration: The Apache Airflow logs being sent to CloudWatch Logs: ``DagProcessingLogs`` , ``SchedulerLogs`` , ``TaskLogs`` , ``WebserverLogs`` , ``WorkerLogs`` .
|
|
@@ -201,7 +201,7 @@ class CfnEnvironment(
|
|
|
201
201
|
:param plugins_s3_path: The relative path to the ``plugins.zip`` file on your Amazon S3 bucket. For example, ``plugins.zip`` . To learn more, see `Installing custom plugins <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html>`_ .
|
|
202
202
|
:param requirements_s3_object_version: The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see `Installing Python dependencies <https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html>`_ .
|
|
203
203
|
:param requirements_s3_path: The relative path to the ``requirements.txt`` file on your Amazon S3 bucket. For example, ``requirements.txt`` . To learn more, see `Installing Python dependencies <https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html>`_ .
|
|
204
|
-
:param schedulers: The number of schedulers that you want to run in your environment. Valid values:. - *v2* -
|
|
204
|
+
:param schedulers: The number of schedulers that you want to run in your environment. Valid values:. - *v2* - For environments larger than mw1.micro, accepts values from 2 to 5. Defaults to 2 for all environment sizes except mw1.micro, which defaults to 1. - *v1* - Accepts 1.
|
|
205
205
|
:param source_bucket_arn: The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, ``arn:aws:s3:::my-airflow-bucket-unique-name`` . To learn more, see `Create an Amazon S3 bucket for Amazon MWAA <https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html>`_ .
|
|
206
206
|
:param startup_script_s3_object_version: The version of the startup shell script in your Amazon S3 bucket. You must specify the `version ID <https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html>`_ that Amazon S3 assigns to the file every time you update the script. Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example: ``3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo`` For more information, see `Using a startup script <https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html>`_ .
|
|
207
207
|
:param startup_script_s3_path: The relative path to the startup shell script in your Amazon S3 bucket. For example, ``s3://mwaa-environment/startup.sh`` . Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see `Using a startup script <https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html>`_ .
|
|
@@ -1128,10 +1128,10 @@ class CfnEnvironmentProps:
|
|
|
1128
1128
|
|
|
1129
1129
|
:param name: The name of your Amazon MWAA environment.
|
|
1130
1130
|
:param airflow_configuration_options: A list of key-value pairs containing the Airflow configuration options for your environment. For example, ``core.default_timezone: utc`` . To learn more, see `Apache Airflow configuration options <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html>`_ .
|
|
1131
|
-
:param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` (latest)
|
|
1131
|
+
:param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` | ``2.10.1`` (latest)
|
|
1132
1132
|
:param dag_s3_path: The relative path to the DAGs folder on your Amazon S3 bucket. For example, ``dags`` . To learn more, see `Adding or updating DAGs <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html>`_ .
|
|
1133
1133
|
:param endpoint_management: Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to ``SERVICE`` , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to ``CUSTOMER`` , you must create, and manage, the VPC endpoints in your VPC.
|
|
1134
|
-
:param environment_class: The environment class type. Valid values: ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
|
|
1134
|
+
:param environment_class: The environment class type. Valid values: ``mw1.micro`` , ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` , ``mw1.1large`` , and ``mw1.2large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
|
|
1135
1135
|
:param execution_role_arn: The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, ``arn:aws:iam::123456789:role/my-execution-role`` . To learn more, see `Amazon MWAA Execution role <https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html>`_ .
|
|
1136
1136
|
:param kms_key: The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
|
|
1137
1137
|
:param logging_configuration: The Apache Airflow logs being sent to CloudWatch Logs: ``DagProcessingLogs`` , ``SchedulerLogs`` , ``TaskLogs`` , ``WebserverLogs`` , ``WorkerLogs`` .
|
|
@@ -1144,7 +1144,7 @@ class CfnEnvironmentProps:
|
|
|
1144
1144
|
:param plugins_s3_path: The relative path to the ``plugins.zip`` file on your Amazon S3 bucket. For example, ``plugins.zip`` . To learn more, see `Installing custom plugins <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html>`_ .
|
|
1145
1145
|
:param requirements_s3_object_version: The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see `Installing Python dependencies <https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html>`_ .
|
|
1146
1146
|
:param requirements_s3_path: The relative path to the ``requirements.txt`` file on your Amazon S3 bucket. For example, ``requirements.txt`` . To learn more, see `Installing Python dependencies <https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html>`_ .
|
|
1147
|
-
:param schedulers: The number of schedulers that you want to run in your environment. Valid values:. - *v2* -
|
|
1147
|
+
:param schedulers: The number of schedulers that you want to run in your environment. Valid values:. - *v2* - For environments larger than mw1.micro, accepts values from 2 to 5. Defaults to 2 for all environment sizes except mw1.micro, which defaults to 1. - *v1* - Accepts 1.
|
|
1148
1148
|
:param source_bucket_arn: The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, ``arn:aws:s3:::my-airflow-bucket-unique-name`` . To learn more, see `Create an Amazon S3 bucket for Amazon MWAA <https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html>`_ .
|
|
1149
1149
|
:param startup_script_s3_object_version: The version of the startup shell script in your Amazon S3 bucket. You must specify the `version ID <https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html>`_ that Amazon S3 assigns to the file every time you update the script. Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example: ``3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo`` For more information, see `Using a startup script <https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html>`_ .
|
|
1150
1150
|
:param startup_script_s3_path: The relative path to the startup shell script in your Amazon S3 bucket. For example, ``s3://mwaa-environment/startup.sh`` . Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see `Using a startup script <https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html>`_ .
|
|
@@ -1331,7 +1331,7 @@ class CfnEnvironmentProps:
|
|
|
1331
1331
|
|
|
1332
1332
|
If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.
|
|
1333
1333
|
|
|
1334
|
-
*Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` (latest)
|
|
1334
|
+
*Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` | ``2.10.1`` (latest)
|
|
1335
1335
|
|
|
1336
1336
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-airflowversion
|
|
1337
1337
|
'''
|
|
@@ -1364,7 +1364,7 @@ class CfnEnvironmentProps:
|
|
|
1364
1364
|
def environment_class(self) -> typing.Optional[builtins.str]:
|
|
1365
1365
|
'''The environment class type.
|
|
1366
1366
|
|
|
1367
|
-
Valid values: ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
|
|
1367
|
+
Valid values: ``mw1.micro`` , ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` , ``mw1.1large`` , and ``mw1.2large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
|
|
1368
1368
|
|
|
1369
1369
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-environmentclass
|
|
1370
1370
|
'''
|
|
@@ -1505,7 +1505,7 @@ class CfnEnvironmentProps:
|
|
|
1505
1505
|
def schedulers(self) -> typing.Optional[jsii.Number]:
|
|
1506
1506
|
'''The number of schedulers that you want to run in your environment. Valid values:.
|
|
1507
1507
|
|
|
1508
|
-
- *v2* -
|
|
1508
|
+
- *v2* - For environments larger than mw1.micro, accepts values from 2 to 5. Defaults to 2 for all environment sizes except mw1.micro, which defaults to 1.
|
|
1509
1509
|
- *v1* - Accepts 1.
|
|
1510
1510
|
|
|
1511
1511
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-schedulers
|
|
@@ -104,6 +104,7 @@ class CfnFirewall(
|
|
|
104
104
|
# the properties below are optional
|
|
105
105
|
delete_protection=False,
|
|
106
106
|
description="description",
|
|
107
|
+
enabled_analysis_types=["enabledAnalysisTypes"],
|
|
107
108
|
firewall_policy_change_protection=False,
|
|
108
109
|
subnet_change_protection=False,
|
|
109
110
|
tags=[CfnTag(
|
|
@@ -124,6 +125,7 @@ class CfnFirewall(
|
|
|
124
125
|
vpc_id: builtins.str,
|
|
125
126
|
delete_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
126
127
|
description: typing.Optional[builtins.str] = None,
|
|
128
|
+
enabled_analysis_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
127
129
|
firewall_policy_change_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
128
130
|
subnet_change_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
129
131
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -137,6 +139,7 @@ class CfnFirewall(
|
|
|
137
139
|
:param vpc_id: The unique identifier of the VPC where the firewall is in use. You can't change the VPC of a firewall after you create the firewall.
|
|
138
140
|
:param delete_protection: A flag indicating whether it is possible to delete the firewall. A setting of ``TRUE`` indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to ``TRUE`` .
|
|
139
141
|
:param description: A description of the firewall.
|
|
142
|
+
:param enabled_analysis_types: An optional setting indicating the specific traffic analysis types to enable on the firewall.
|
|
140
143
|
:param firewall_policy_change_protection: A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to ``TRUE`` .
|
|
141
144
|
:param subnet_change_protection: A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to ``TRUE`` .
|
|
142
145
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
@@ -152,6 +155,7 @@ class CfnFirewall(
|
|
|
152
155
|
vpc_id=vpc_id,
|
|
153
156
|
delete_protection=delete_protection,
|
|
154
157
|
description=description,
|
|
158
|
+
enabled_analysis_types=enabled_analysis_types,
|
|
155
159
|
firewall_policy_change_protection=firewall_policy_change_protection,
|
|
156
160
|
subnet_change_protection=subnet_change_protection,
|
|
157
161
|
tags=tags,
|
|
@@ -317,6 +321,22 @@ class CfnFirewall(
|
|
|
317
321
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
318
322
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
319
323
|
|
|
324
|
+
@builtins.property
|
|
325
|
+
@jsii.member(jsii_name="enabledAnalysisTypes")
|
|
326
|
+
def enabled_analysis_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
327
|
+
'''An optional setting indicating the specific traffic analysis types to enable on the firewall.'''
|
|
328
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "enabledAnalysisTypes"))
|
|
329
|
+
|
|
330
|
+
@enabled_analysis_types.setter
|
|
331
|
+
def enabled_analysis_types(
|
|
332
|
+
self,
|
|
333
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
334
|
+
) -> None:
|
|
335
|
+
if __debug__:
|
|
336
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dfc5ed44d930f34c8aab89f35a98f79157366d4a6307eb58bfc63ed737000a53)
|
|
337
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
338
|
+
jsii.set(self, "enabledAnalysisTypes", value) # pyright: ignore[reportArgumentType]
|
|
339
|
+
|
|
320
340
|
@builtins.property
|
|
321
341
|
@jsii.member(jsii_name="firewallPolicyChangeProtection")
|
|
322
342
|
def firewall_policy_change_protection(
|
|
@@ -1891,6 +1911,7 @@ class CfnFirewallPolicyProps:
|
|
|
1891
1911
|
"vpc_id": "vpcId",
|
|
1892
1912
|
"delete_protection": "deleteProtection",
|
|
1893
1913
|
"description": "description",
|
|
1914
|
+
"enabled_analysis_types": "enabledAnalysisTypes",
|
|
1894
1915
|
"firewall_policy_change_protection": "firewallPolicyChangeProtection",
|
|
1895
1916
|
"subnet_change_protection": "subnetChangeProtection",
|
|
1896
1917
|
"tags": "tags",
|
|
@@ -1906,6 +1927,7 @@ class CfnFirewallProps:
|
|
|
1906
1927
|
vpc_id: builtins.str,
|
|
1907
1928
|
delete_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1908
1929
|
description: typing.Optional[builtins.str] = None,
|
|
1930
|
+
enabled_analysis_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1909
1931
|
firewall_policy_change_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1910
1932
|
subnet_change_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1911
1933
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1918,6 +1940,7 @@ class CfnFirewallProps:
|
|
|
1918
1940
|
:param vpc_id: The unique identifier of the VPC where the firewall is in use. You can't change the VPC of a firewall after you create the firewall.
|
|
1919
1941
|
:param delete_protection: A flag indicating whether it is possible to delete the firewall. A setting of ``TRUE`` indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to ``TRUE`` .
|
|
1920
1942
|
:param description: A description of the firewall.
|
|
1943
|
+
:param enabled_analysis_types: An optional setting indicating the specific traffic analysis types to enable on the firewall.
|
|
1921
1944
|
:param firewall_policy_change_protection: A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to ``TRUE`` .
|
|
1922
1945
|
:param subnet_change_protection: A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to ``TRUE`` .
|
|
1923
1946
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
@@ -1945,6 +1968,7 @@ class CfnFirewallProps:
|
|
|
1945
1968
|
# the properties below are optional
|
|
1946
1969
|
delete_protection=False,
|
|
1947
1970
|
description="description",
|
|
1971
|
+
enabled_analysis_types=["enabledAnalysisTypes"],
|
|
1948
1972
|
firewall_policy_change_protection=False,
|
|
1949
1973
|
subnet_change_protection=False,
|
|
1950
1974
|
tags=[CfnTag(
|
|
@@ -1961,6 +1985,7 @@ class CfnFirewallProps:
|
|
|
1961
1985
|
check_type(argname="argument vpc_id", value=vpc_id, expected_type=type_hints["vpc_id"])
|
|
1962
1986
|
check_type(argname="argument delete_protection", value=delete_protection, expected_type=type_hints["delete_protection"])
|
|
1963
1987
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1988
|
+
check_type(argname="argument enabled_analysis_types", value=enabled_analysis_types, expected_type=type_hints["enabled_analysis_types"])
|
|
1964
1989
|
check_type(argname="argument firewall_policy_change_protection", value=firewall_policy_change_protection, expected_type=type_hints["firewall_policy_change_protection"])
|
|
1965
1990
|
check_type(argname="argument subnet_change_protection", value=subnet_change_protection, expected_type=type_hints["subnet_change_protection"])
|
|
1966
1991
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -1974,6 +1999,8 @@ class CfnFirewallProps:
|
|
|
1974
1999
|
self._values["delete_protection"] = delete_protection
|
|
1975
2000
|
if description is not None:
|
|
1976
2001
|
self._values["description"] = description
|
|
2002
|
+
if enabled_analysis_types is not None:
|
|
2003
|
+
self._values["enabled_analysis_types"] = enabled_analysis_types
|
|
1977
2004
|
if firewall_policy_change_protection is not None:
|
|
1978
2005
|
self._values["firewall_policy_change_protection"] = firewall_policy_change_protection
|
|
1979
2006
|
if subnet_change_protection is not None:
|
|
@@ -2053,6 +2080,15 @@ class CfnFirewallProps:
|
|
|
2053
2080
|
result = self._values.get("description")
|
|
2054
2081
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2055
2082
|
|
|
2083
|
+
@builtins.property
|
|
2084
|
+
def enabled_analysis_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2085
|
+
'''An optional setting indicating the specific traffic analysis types to enable on the firewall.
|
|
2086
|
+
|
|
2087
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-enabledanalysistypes
|
|
2088
|
+
'''
|
|
2089
|
+
result = self._values.get("enabled_analysis_types")
|
|
2090
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2091
|
+
|
|
2056
2092
|
@builtins.property
|
|
2057
2093
|
def firewall_policy_change_protection(
|
|
2058
2094
|
self,
|
|
@@ -3451,10 +3487,10 @@ class CfnRuleGroup(
|
|
|
3451
3487
|
|
|
3452
3488
|
Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags.
|
|
3453
3489
|
|
|
3454
|
-
:param destination_ports: The destination
|
|
3490
|
+
:param destination_ports: The destination port to inspect for. You can specify an individual port, for example ``1994`` and you can specify a port range, for example ``1990:1994`` . To match with any port, specify ``ANY`` . This setting is only used for protocols 6 (TCP) and 17 (UDP).
|
|
3455
3491
|
:param destinations: The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.
|
|
3456
|
-
:param protocols: The protocols to inspect for, specified using
|
|
3457
|
-
:param source_ports: The source
|
|
3492
|
+
:param protocols: The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.
|
|
3493
|
+
:param source_ports: The source port to inspect for. You can specify an individual port, for example ``1994`` and you can specify a port range, for example ``1990:1994`` . To match with any port, specify ``ANY`` . If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
|
|
3458
3494
|
:param sources: The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.
|
|
3459
3495
|
:param tcp_flags: The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).
|
|
3460
3496
|
|
|
@@ -3517,11 +3553,11 @@ class CfnRuleGroup(
|
|
|
3517
3553
|
def destination_ports(
|
|
3518
3554
|
self,
|
|
3519
3555
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRuleGroup.PortRangeProperty"]]]]:
|
|
3520
|
-
'''The destination
|
|
3556
|
+
'''The destination port to inspect for.
|
|
3521
3557
|
|
|
3522
|
-
|
|
3558
|
+
You can specify an individual port, for example ``1994`` and you can specify a port range, for example ``1990:1994`` . To match with any port, specify ``ANY`` .
|
|
3523
3559
|
|
|
3524
|
-
|
|
3560
|
+
This setting is only used for protocols 6 (TCP) and 17 (UDP).
|
|
3525
3561
|
|
|
3526
3562
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-matchattributes.html#cfn-networkfirewall-rulegroup-matchattributes-destinationports
|
|
3527
3563
|
'''
|
|
@@ -3545,7 +3581,7 @@ class CfnRuleGroup(
|
|
|
3545
3581
|
def protocols(
|
|
3546
3582
|
self,
|
|
3547
3583
|
) -> typing.Optional[typing.Union[typing.List[jsii.Number], _IResolvable_da3f097b]]:
|
|
3548
|
-
'''The protocols to inspect for, specified using
|
|
3584
|
+
'''The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol.
|
|
3549
3585
|
|
|
3550
3586
|
If not specified, this matches with any protocol.
|
|
3551
3587
|
|
|
@@ -3558,11 +3594,13 @@ class CfnRuleGroup(
|
|
|
3558
3594
|
def source_ports(
|
|
3559
3595
|
self,
|
|
3560
3596
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRuleGroup.PortRangeProperty"]]]]:
|
|
3561
|
-
'''The source
|
|
3597
|
+
'''The source port to inspect for.
|
|
3598
|
+
|
|
3599
|
+
You can specify an individual port, for example ``1994`` and you can specify a port range, for example ``1990:1994`` . To match with any port, specify ``ANY`` .
|
|
3562
3600
|
|
|
3563
|
-
If not specified, this matches with any source port.
|
|
3601
|
+
If not specified, this matches with any source port.
|
|
3564
3602
|
|
|
3565
|
-
|
|
3603
|
+
This setting is only used for protocols 6 (TCP) and 17 (UDP).
|
|
3566
3604
|
|
|
3567
3605
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-matchattributes.html#cfn-networkfirewall-rulegroup-matchattributes-sourceports
|
|
3568
3606
|
'''
|
|
@@ -6022,7 +6060,7 @@ class CfnTLSInspectionConfiguration(
|
|
|
6022
6060
|
|
|
6023
6061
|
:param destination_ports: The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any destination port. You can specify individual ports, for example ``1994`` , and you can specify port ranges, such as ``1990:1994`` .
|
|
6024
6062
|
:param destinations: The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.
|
|
6025
|
-
:param protocols: The protocols to
|
|
6063
|
+
:param protocols: The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol. Network Firewall currently supports only TCP.
|
|
6026
6064
|
:param source_ports: The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any source port. You can specify individual ports, for example ``1994`` , and you can specify port ranges, such as ``1990:1994`` .
|
|
6027
6065
|
:param sources: The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.
|
|
6028
6066
|
|
|
@@ -6105,7 +6143,9 @@ class CfnTLSInspectionConfiguration(
|
|
|
6105
6143
|
def protocols(
|
|
6106
6144
|
self,
|
|
6107
6145
|
) -> typing.Optional[typing.Union[typing.List[jsii.Number], _IResolvable_da3f097b]]:
|
|
6108
|
-
'''The protocols to
|
|
6146
|
+
'''The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol.
|
|
6147
|
+
|
|
6148
|
+
If not specified, this matches with any protocol.
|
|
6109
6149
|
|
|
6110
6150
|
Network Firewall currently supports only TCP.
|
|
6111
6151
|
|
|
@@ -6415,6 +6455,7 @@ def _typecheckingstub__8735e4ce7e79159823190ad059af802b7721b71930c6b4b8805c4676b
|
|
|
6415
6455
|
vpc_id: builtins.str,
|
|
6416
6456
|
delete_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6417
6457
|
description: typing.Optional[builtins.str] = None,
|
|
6458
|
+
enabled_analysis_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6418
6459
|
firewall_policy_change_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6419
6460
|
subnet_change_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6420
6461
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6470,6 +6511,12 @@ def _typecheckingstub__fea0349bbbe56acfbf8d2e11ce10cdd2221eb418df0a6df3602174f80
|
|
|
6470
6511
|
"""Type checking stubs"""
|
|
6471
6512
|
pass
|
|
6472
6513
|
|
|
6514
|
+
def _typecheckingstub__dfc5ed44d930f34c8aab89f35a98f79157366d4a6307eb58bfc63ed737000a53(
|
|
6515
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
6516
|
+
) -> None:
|
|
6517
|
+
"""Type checking stubs"""
|
|
6518
|
+
pass
|
|
6519
|
+
|
|
6473
6520
|
def _typecheckingstub__ee50239d13ab311a798770d372dccb418872f67c3e07c873f5d87e11df129a35(
|
|
6474
6521
|
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
6475
6522
|
) -> None:
|
|
@@ -6660,6 +6707,7 @@ def _typecheckingstub__8d4108d5c35b1608da0d36c8bb60f52501d3b0634ca4324342a71c57b
|
|
|
6660
6707
|
vpc_id: builtins.str,
|
|
6661
6708
|
delete_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6662
6709
|
description: typing.Optional[builtins.str] = None,
|
|
6710
|
+
enabled_analysis_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6663
6711
|
firewall_policy_change_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6664
6712
|
subnet_change_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6665
6713
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
aws_cdk/aws_oam/__init__.py
CHANGED
|
@@ -128,7 +128,7 @@ class CfnLink(
|
|
|
128
128
|
'''
|
|
129
129
|
:param scope: Scope in which this resource is defined.
|
|
130
130
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
131
|
-
:param resource_types: An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor`` .
|
|
131
|
+
:param resource_types: An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective`` .
|
|
132
132
|
:param sink_identifier: The ARN of the sink in the monitoring account that you want to link to. You can use `ListSinks <https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html>`_ to find the ARNs of sinks.
|
|
133
133
|
:param label_template: Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account. You can include the following variables in your template: - ``$AccountName`` is the name of the account - ``$AccountEmail`` is a globally-unique email address, which includes the email domain, such as ``mariagarcia@example.com`` - ``$AccountEmailNoDomain`` is an email address without the domain name, such as ``mariagarcia``
|
|
134
134
|
:param link_configuration: Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
|
|
@@ -301,7 +301,7 @@ class CfnLink(
|
|
|
301
301
|
) -> None:
|
|
302
302
|
'''Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
|
|
303
303
|
|
|
304
|
-
:param log_group_configuration: Use this structure to filter which log groups are to
|
|
304
|
+
:param log_group_configuration: Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
|
|
305
305
|
:param metric_configuration: Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
|
|
306
306
|
|
|
307
307
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkconfiguration.html
|
|
@@ -336,7 +336,7 @@ class CfnLink(
|
|
|
336
336
|
def log_group_configuration(
|
|
337
337
|
self,
|
|
338
338
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLink.LinkFilterProperty"]]:
|
|
339
|
-
'''Use this structure to filter which log groups are to
|
|
339
|
+
'''Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
|
|
340
340
|
|
|
341
341
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkconfiguration.html#cfn-oam-link-linkconfiguration-loggroupconfiguration
|
|
342
342
|
'''
|
|
@@ -372,11 +372,8 @@ class CfnLink(
|
|
|
372
372
|
)
|
|
373
373
|
class LinkFilterProperty:
|
|
374
374
|
def __init__(self, *, filter: builtins.str) -> None:
|
|
375
|
-
'''
|
|
376
|
-
|
|
377
|
-
When used in ``LogGroupConfiguration`` this field specifies which log groups are to share their log events with the monitoring account. Use the term ``LogGroupName`` and one or more of the following operands.
|
|
378
|
-
|
|
379
|
-
:param filter: When used in ``MetricConfiguration`` this field specifies which metric namespaces are to be shared with the monitoring account. When used in ``LogGroupConfiguration`` this field specifies which log groups are to share their log events with the monitoring account. Use the term ``LogGroupName`` and one or more of the following operands. Use single quotation marks (') around log group names and metric namespaces. The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are ``AND`` and ``OR`` . - ``=`` and ``!=`` - ``AND`` - ``OR`` - ``LIKE`` and ``NOT LIKE`` . These can be used only as prefix searches. Include a ``%`` at the end of the string that you want to search for and include. - ``IN`` and ``NOT IN`` , using parentheses ``( )`` Examples: - ``Namespace NOT LIKE 'AWS/%'`` includes only namespaces that don't start with ``AWS/`` , such as custom namespaces. - ``Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')`` includes only the metrics in the EC2, Elastic Load Balancing , and Amazon S3 namespaces. - ``Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'`` includes only the EC2 namespace and your custom namespaces. - ``LogGroupName IN ('This-Log-Group', 'Other-Log-Group')`` includes only the log groups with names ``This-Log-Group`` and ``Other-Log-Group`` . - ``LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')`` includes all log groups except the log groups with names ``Private-Log-Group`` and ``Private-Log-Group-2`` . - ``LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'`` includes all log groups that have names that start with ``aws/lambda/`` or ``AWSLogs`` . .. epigraph:: If you are updating a link that uses filters, you can specify ``*`` as the only value for the ``filter`` parameter to delete the filter and share all log groups with the monitoring account.
|
|
375
|
+
'''
|
|
376
|
+
:param filter:
|
|
380
377
|
|
|
381
378
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkfilter.html
|
|
382
379
|
:exampleMetadata: fixture=_generated
|
|
@@ -400,33 +397,7 @@ class CfnLink(
|
|
|
400
397
|
|
|
401
398
|
@builtins.property
|
|
402
399
|
def filter(self) -> builtins.str:
|
|
403
|
-
'''
|
|
404
|
-
|
|
405
|
-
When used in ``LogGroupConfiguration`` this field specifies which log groups are to share their log events with the monitoring account. Use the term ``LogGroupName`` and one or more of the following operands.
|
|
406
|
-
|
|
407
|
-
Use single quotation marks (') around log group names and metric namespaces.
|
|
408
|
-
|
|
409
|
-
The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are ``AND`` and ``OR`` .
|
|
410
|
-
|
|
411
|
-
- ``=`` and ``!=``
|
|
412
|
-
- ``AND``
|
|
413
|
-
- ``OR``
|
|
414
|
-
- ``LIKE`` and ``NOT LIKE`` . These can be used only as prefix searches. Include a ``%`` at the end of the string that you want to search for and include.
|
|
415
|
-
- ``IN`` and ``NOT IN`` , using parentheses ``( )``
|
|
416
|
-
|
|
417
|
-
Examples:
|
|
418
|
-
|
|
419
|
-
- ``Namespace NOT LIKE 'AWS/%'`` includes only namespaces that don't start with ``AWS/`` , such as custom namespaces.
|
|
420
|
-
- ``Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')`` includes only the metrics in the EC2, Elastic Load Balancing , and Amazon S3 namespaces.
|
|
421
|
-
- ``Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'`` includes only the EC2 namespace and your custom namespaces.
|
|
422
|
-
- ``LogGroupName IN ('This-Log-Group', 'Other-Log-Group')`` includes only the log groups with names ``This-Log-Group`` and ``Other-Log-Group`` .
|
|
423
|
-
- ``LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')`` includes all log groups except the log groups with names ``Private-Log-Group`` and ``Private-Log-Group-2`` .
|
|
424
|
-
- ``LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'`` includes all log groups that have names that start with ``aws/lambda/`` or ``AWSLogs`` .
|
|
425
|
-
|
|
426
|
-
.. epigraph::
|
|
427
|
-
|
|
428
|
-
If you are updating a link that uses filters, you can specify ``*`` as the only value for the ``filter`` parameter to delete the filter and share all log groups with the monitoring account.
|
|
429
|
-
|
|
400
|
+
'''
|
|
430
401
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkfilter.html#cfn-oam-link-linkfilter-filter
|
|
431
402
|
'''
|
|
432
403
|
result = self._values.get("filter")
|
|
@@ -468,7 +439,7 @@ class CfnLinkProps:
|
|
|
468
439
|
) -> None:
|
|
469
440
|
'''Properties for defining a ``CfnLink``.
|
|
470
441
|
|
|
471
|
-
:param resource_types: An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor`` .
|
|
442
|
+
:param resource_types: An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective`` .
|
|
472
443
|
:param sink_identifier: The ARN of the sink in the monitoring account that you want to link to. You can use `ListSinks <https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html>`_ to find the ARNs of sinks.
|
|
473
444
|
:param label_template: Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account. You can include the following variables in your template: - ``$AccountName`` is the name of the account - ``$AccountEmail`` is a globally-unique email address, which includes the email domain, such as ``mariagarcia@example.com`` - ``$AccountEmailNoDomain`` is an email address without the domain name, such as ``mariagarcia``
|
|
474
445
|
:param link_configuration: Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
|
|
@@ -524,7 +495,7 @@ class CfnLinkProps:
|
|
|
524
495
|
def resource_types(self) -> typing.List[builtins.str]:
|
|
525
496
|
'''An array of strings that define which types of data that the source account shares with the monitoring account.
|
|
526
497
|
|
|
527
|
-
Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor`` .
|
|
498
|
+
Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective`` .
|
|
528
499
|
|
|
529
500
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-resourcetypes
|
|
530
501
|
'''
|