aws-cdk-lib 2.219.0__py3-none-any.whl → 2.221.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 +33 -35
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.219.0.jsii.tgz → aws-cdk-lib@2.221.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +4 -1
- aws_cdk/aws_aiops/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -29
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +3 -0
- aws_cdk/aws_appconfig/__init__.py +3 -29
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +3 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +3 -0
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_applicationsignals/__init__.py +453 -2
- aws_cdk/aws_appmesh/__init__.py +3 -0
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +3 -0
- aws_cdk/aws_apptest/__init__.py +3 -0
- aws_cdk/aws_aps/__init__.py +1168 -83
- aws_cdk/aws_arcregionswitch/__init__.py +11 -0
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +3 -0
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +32 -29
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +112 -7
- aws_cdk/aws_bcmdataexports/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +53 -45
- aws_cdk/aws_bedrockagentcore/__init__.py +8499 -1732
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +3 -0
- aws_cdk/aws_cleanroomsml/__init__.py +3 -0
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +3 -0
- aws_cdk/aws_cloudfront/__init__.py +69 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +8 -5
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +3 -0
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codeconnections/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +3 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +3 -0
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +9 -4
- aws_cdk/aws_cognito_identitypool/__init__.py +3 -0
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +1232 -2
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -29
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +3 -0
- aws_cdk/aws_datazone/__init__.py +17 -15
- aws_cdk/aws_dax/__init__.py +15 -3
- aws_cdk/aws_deadline/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +32 -0
- aws_cdk/aws_dlm/__init__.py +3 -0
- aws_cdk/aws_dms/__init__.py +3 -0
- aws_cdk/aws_docdb/__init__.py +14 -3
- aws_cdk/aws_docdbelastic/__init__.py +3 -0
- aws_cdk/aws_dsql/__init__.py +3 -0
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +205 -48
- aws_cdk/aws_ecr/__init__.py +156 -33
- aws_cdk/aws_ecs/__init__.py +429 -182
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +117 -67
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +445 -36
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +12 -11
- aws_cdk/aws_entityresolution/__init__.py +3 -0
- aws_cdk/aws_events/__init__.py +73 -29
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_evs/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +7 -4
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_gameliftstreams/__init__.py +8 -5
- aws_cdk/aws_globalaccelerator/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +11 -80
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +30 -32
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +896 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +3 -0
- aws_cdk/aws_invoicing/__init__.py +3 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +139 -80
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -87
- aws_cdk/aws_iotwireless/__init__.py +61 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +3 -0
- aws_cdk/aws_kendra/__init__.py +3 -58
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +98 -4
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +1709 -10
- aws_cdk/aws_kinesisvideo/__init__.py +3 -29
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +57 -7
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_launchwizard/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -29
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +587 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +283 -9
- aws_cdk/aws_lookoutequipment/__init__.py +3 -29
- aws_cdk/aws_lookoutmetrics/__init__.py +17 -2
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +62 -13
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +3 -0
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +279 -33
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -58
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_mpa/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +3 -0
- aws_cdk/aws_mwaa/__init__.py +8 -5
- aws_cdk/aws_neptune/__init__.py +188 -70
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +32 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_notifications/__init__.py +3 -0
- aws_cdk/aws_notificationscontacts/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +3 -0
- aws_cdk/aws_observabilityadmin/__init__.py +1365 -187
- aws_cdk/aws_odb/__init__.py +4 -1
- aws_cdk/aws_omics/__init__.py +10 -1
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +9 -0
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -116
- aws_cdk/aws_osis/__init__.py +157 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_paymentcryptography/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +3 -0
- aws_cdk/aws_pcs/__init__.py +227 -33
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +61 -58
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -174
- aws_cdk/aws_qldb/__init__.py +3 -29
- aws_cdk/aws_quicksight/__init__.py +493 -406
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rbin/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +71 -42
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +21 -6
- aws_cdk/aws_rekognition/__init__.py +3 -29
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +148 -24
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +11 -4
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +80 -43
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +47 -12
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_s3tables/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +166 -87
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -29
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +3 -0
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_servicecatalog/__init__.py +161 -144
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_smsvoice/__init__.py +3 -29
- aws_cdk/aws_sns/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +10 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmguiconnect/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +470 -3
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +23 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +80 -27
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -29
- aws_cdk/aws_transfer/__init__.py +20 -34
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +7 -4
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +3 -0
- aws_cdk/aws_wisdom/__init__.py +3 -116
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesinstances/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cx_api/__init__.py +34 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.221.0.dist-info/RECORD +313 -0
- aws_cdk_lib-2.219.0.dist-info/RECORD +0 -313
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_logs/__init__.py
CHANGED
|
@@ -553,6 +553,10 @@ logs.Transformer(self, "Transformer",
|
|
|
553
553
|
|
|
554
554
|
For more details on CloudWatch Logs transformation processors, refer to the [AWS documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Processors.html).
|
|
555
555
|
|
|
556
|
+
### Usage of metric filters on transformed logs
|
|
557
|
+
|
|
558
|
+
In order to use the transformed logs as search pattern, set the parameter `applyOnTransformedLogs: true` in the MetricFilterProps.
|
|
559
|
+
|
|
556
560
|
## Notes
|
|
557
561
|
|
|
558
562
|
Be aware that Log Group ARNs will always have the string `:*` appended to
|
|
@@ -1089,6 +1093,7 @@ class CfnAccountPolicyProps:
|
|
|
1089
1093
|
name_mapping={
|
|
1090
1094
|
"name": "name",
|
|
1091
1095
|
"delivery_destination_policy": "deliveryDestinationPolicy",
|
|
1096
|
+
"delivery_destination_type": "deliveryDestinationType",
|
|
1092
1097
|
"destination_resource_arn": "destinationResourceArn",
|
|
1093
1098
|
"output_format": "outputFormat",
|
|
1094
1099
|
"tags": "tags",
|
|
@@ -1100,6 +1105,7 @@ class CfnDeliveryDestinationProps:
|
|
|
1100
1105
|
*,
|
|
1101
1106
|
name: builtins.str,
|
|
1102
1107
|
delivery_destination_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryDestination.DestinationPolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1108
|
+
delivery_destination_type: typing.Optional[builtins.str] = None,
|
|
1103
1109
|
destination_resource_arn: typing.Optional[builtins.str] = None,
|
|
1104
1110
|
output_format: typing.Optional[builtins.str] = None,
|
|
1105
1111
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1108,6 +1114,7 @@ class CfnDeliveryDestinationProps:
|
|
|
1108
1114
|
|
|
1109
1115
|
:param name: The name of this delivery destination.
|
|
1110
1116
|
:param delivery_destination_policy: An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. For examples of this policy, see `Examples <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html#API_PutDeliveryDestinationPolicy_Examples>`_ in the CloudWatch Logs API Reference.
|
|
1117
|
+
:param delivery_destination_type: Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
|
|
1111
1118
|
:param destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs , an Amazon S3 bucket, or a Firehose stream.
|
|
1112
1119
|
:param output_format: The format of the logs that are sent to this delivery destination.
|
|
1113
1120
|
:param tags: An array of key-value pairs to apply to the delivery destination. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
@@ -1131,6 +1138,7 @@ class CfnDeliveryDestinationProps:
|
|
|
1131
1138
|
delivery_destination_name="deliveryDestinationName",
|
|
1132
1139
|
delivery_destination_policy=delivery_destination_policy
|
|
1133
1140
|
),
|
|
1141
|
+
delivery_destination_type="deliveryDestinationType",
|
|
1134
1142
|
destination_resource_arn="destinationResourceArn",
|
|
1135
1143
|
output_format="outputFormat",
|
|
1136
1144
|
tags=[CfnTag(
|
|
@@ -1143,6 +1151,7 @@ class CfnDeliveryDestinationProps:
|
|
|
1143
1151
|
type_hints = typing.get_type_hints(_typecheckingstub__53bbf04ee2b4b7e83a98258d41a973972fae20f7537731a0fbcda3e7c5f46c1c)
|
|
1144
1152
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1145
1153
|
check_type(argname="argument delivery_destination_policy", value=delivery_destination_policy, expected_type=type_hints["delivery_destination_policy"])
|
|
1154
|
+
check_type(argname="argument delivery_destination_type", value=delivery_destination_type, expected_type=type_hints["delivery_destination_type"])
|
|
1146
1155
|
check_type(argname="argument destination_resource_arn", value=destination_resource_arn, expected_type=type_hints["destination_resource_arn"])
|
|
1147
1156
|
check_type(argname="argument output_format", value=output_format, expected_type=type_hints["output_format"])
|
|
1148
1157
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -1151,6 +1160,8 @@ class CfnDeliveryDestinationProps:
|
|
|
1151
1160
|
}
|
|
1152
1161
|
if delivery_destination_policy is not None:
|
|
1153
1162
|
self._values["delivery_destination_policy"] = delivery_destination_policy
|
|
1163
|
+
if delivery_destination_type is not None:
|
|
1164
|
+
self._values["delivery_destination_type"] = delivery_destination_type
|
|
1154
1165
|
if destination_resource_arn is not None:
|
|
1155
1166
|
self._values["destination_resource_arn"] = destination_resource_arn
|
|
1156
1167
|
if output_format is not None:
|
|
@@ -1181,6 +1192,15 @@ class CfnDeliveryDestinationProps:
|
|
|
1181
1192
|
result = self._values.get("delivery_destination_policy")
|
|
1182
1193
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryDestination.DestinationPolicyProperty"]], result)
|
|
1183
1194
|
|
|
1195
|
+
@builtins.property
|
|
1196
|
+
def delivery_destination_type(self) -> typing.Optional[builtins.str]:
|
|
1197
|
+
'''Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
|
|
1198
|
+
|
|
1199
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-deliverydestinationtype
|
|
1200
|
+
'''
|
|
1201
|
+
result = self._values.get("delivery_destination_type")
|
|
1202
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1203
|
+
|
|
1184
1204
|
@builtins.property
|
|
1185
1205
|
def destination_resource_arn(self) -> typing.Optional[builtins.str]:
|
|
1186
1206
|
'''The ARN of the AWS destination that this delivery destination represents.
|
|
@@ -2206,6 +2226,8 @@ class CfnLogStreamProps:
|
|
|
2206
2226
|
"log_group_name": "logGroupName",
|
|
2207
2227
|
"metric_transformations": "metricTransformations",
|
|
2208
2228
|
"apply_on_transformed_logs": "applyOnTransformedLogs",
|
|
2229
|
+
"emit_system_field_dimensions": "emitSystemFieldDimensions",
|
|
2230
|
+
"field_selection_criteria": "fieldSelectionCriteria",
|
|
2209
2231
|
"filter_name": "filterName",
|
|
2210
2232
|
},
|
|
2211
2233
|
)
|
|
@@ -2217,6 +2239,8 @@ class CfnMetricFilterProps:
|
|
|
2217
2239
|
log_group_name: builtins.str,
|
|
2218
2240
|
metric_transformations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMetricFilter.MetricTransformationProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
2219
2241
|
apply_on_transformed_logs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2242
|
+
emit_system_field_dimensions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2243
|
+
field_selection_criteria: typing.Optional[builtins.str] = None,
|
|
2220
2244
|
filter_name: typing.Optional[builtins.str] = None,
|
|
2221
2245
|
) -> None:
|
|
2222
2246
|
'''Properties for defining a ``CfnMetricFilter``.
|
|
@@ -2225,6 +2249,8 @@ class CfnMetricFilterProps:
|
|
|
2225
2249
|
:param log_group_name: The name of an existing log group that you want to associate with this metric filter.
|
|
2226
2250
|
:param metric_transformations: The metric transformations.
|
|
2227
2251
|
:param apply_on_transformed_logs: This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see `PutTransformer <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutTransformer.html>`_ . If this value is ``true`` , the metric filter is applied on the transformed version of the log events instead of the original ingested log events.
|
|
2252
|
+
:param emit_system_field_dimensions: The list of system fields that are emitted as additional dimensions in the generated metrics. Returns the ``emitSystemFieldDimensions`` value if it was specified when the metric filter was created.
|
|
2253
|
+
:param field_selection_criteria: The filter expression that specifies which log events are processed by this metric filter based on system fields. Returns the ``fieldSelectionCriteria`` value if it was specified when the metric filter was created.
|
|
2228
2254
|
:param filter_name: The name of the metric filter.
|
|
2229
2255
|
|
|
2230
2256
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html
|
|
@@ -2255,6 +2281,8 @@ class CfnMetricFilterProps:
|
|
|
2255
2281
|
|
|
2256
2282
|
# the properties below are optional
|
|
2257
2283
|
apply_on_transformed_logs=False,
|
|
2284
|
+
emit_system_field_dimensions=["emitSystemFieldDimensions"],
|
|
2285
|
+
field_selection_criteria="fieldSelectionCriteria",
|
|
2258
2286
|
filter_name="filterName"
|
|
2259
2287
|
)
|
|
2260
2288
|
'''
|
|
@@ -2264,6 +2292,8 @@ class CfnMetricFilterProps:
|
|
|
2264
2292
|
check_type(argname="argument log_group_name", value=log_group_name, expected_type=type_hints["log_group_name"])
|
|
2265
2293
|
check_type(argname="argument metric_transformations", value=metric_transformations, expected_type=type_hints["metric_transformations"])
|
|
2266
2294
|
check_type(argname="argument apply_on_transformed_logs", value=apply_on_transformed_logs, expected_type=type_hints["apply_on_transformed_logs"])
|
|
2295
|
+
check_type(argname="argument emit_system_field_dimensions", value=emit_system_field_dimensions, expected_type=type_hints["emit_system_field_dimensions"])
|
|
2296
|
+
check_type(argname="argument field_selection_criteria", value=field_selection_criteria, expected_type=type_hints["field_selection_criteria"])
|
|
2267
2297
|
check_type(argname="argument filter_name", value=filter_name, expected_type=type_hints["filter_name"])
|
|
2268
2298
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2269
2299
|
"filter_pattern": filter_pattern,
|
|
@@ -2272,6 +2302,10 @@ class CfnMetricFilterProps:
|
|
|
2272
2302
|
}
|
|
2273
2303
|
if apply_on_transformed_logs is not None:
|
|
2274
2304
|
self._values["apply_on_transformed_logs"] = apply_on_transformed_logs
|
|
2305
|
+
if emit_system_field_dimensions is not None:
|
|
2306
|
+
self._values["emit_system_field_dimensions"] = emit_system_field_dimensions
|
|
2307
|
+
if field_selection_criteria is not None:
|
|
2308
|
+
self._values["field_selection_criteria"] = field_selection_criteria
|
|
2275
2309
|
if filter_name is not None:
|
|
2276
2310
|
self._values["filter_name"] = filter_name
|
|
2277
2311
|
|
|
@@ -2324,6 +2358,30 @@ class CfnMetricFilterProps:
|
|
|
2324
2358
|
result = self._values.get("apply_on_transformed_logs")
|
|
2325
2359
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2326
2360
|
|
|
2361
|
+
@builtins.property
|
|
2362
|
+
def emit_system_field_dimensions(
|
|
2363
|
+
self,
|
|
2364
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
2365
|
+
'''The list of system fields that are emitted as additional dimensions in the generated metrics.
|
|
2366
|
+
|
|
2367
|
+
Returns the ``emitSystemFieldDimensions`` value if it was specified when the metric filter was created.
|
|
2368
|
+
|
|
2369
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-logs-metricfilter-emitsystemfielddimensions
|
|
2370
|
+
'''
|
|
2371
|
+
result = self._values.get("emit_system_field_dimensions")
|
|
2372
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2373
|
+
|
|
2374
|
+
@builtins.property
|
|
2375
|
+
def field_selection_criteria(self) -> typing.Optional[builtins.str]:
|
|
2376
|
+
'''The filter expression that specifies which log events are processed by this metric filter based on system fields.
|
|
2377
|
+
|
|
2378
|
+
Returns the ``fieldSelectionCriteria`` value if it was specified when the metric filter was created.
|
|
2379
|
+
|
|
2380
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-logs-metricfilter-fieldselectioncriteria
|
|
2381
|
+
'''
|
|
2382
|
+
result = self._values.get("field_selection_criteria")
|
|
2383
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2384
|
+
|
|
2327
2385
|
@builtins.property
|
|
2328
2386
|
def filter_name(self) -> typing.Optional[builtins.str]:
|
|
2329
2387
|
'''The name of the metric filter.
|
|
@@ -2547,6 +2605,8 @@ class CfnResourcePolicyProps:
|
|
|
2547
2605
|
"log_group_name": "logGroupName",
|
|
2548
2606
|
"apply_on_transformed_logs": "applyOnTransformedLogs",
|
|
2549
2607
|
"distribution": "distribution",
|
|
2608
|
+
"emit_system_fields": "emitSystemFields",
|
|
2609
|
+
"field_selection_criteria": "fieldSelectionCriteria",
|
|
2550
2610
|
"filter_name": "filterName",
|
|
2551
2611
|
"role_arn": "roleArn",
|
|
2552
2612
|
},
|
|
@@ -2560,6 +2620,8 @@ class CfnSubscriptionFilterProps:
|
|
|
2560
2620
|
log_group_name: builtins.str,
|
|
2561
2621
|
apply_on_transformed_logs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2562
2622
|
distribution: typing.Optional[builtins.str] = None,
|
|
2623
|
+
emit_system_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2624
|
+
field_selection_criteria: typing.Optional[builtins.str] = None,
|
|
2563
2625
|
filter_name: typing.Optional[builtins.str] = None,
|
|
2564
2626
|
role_arn: typing.Optional[builtins.str] = None,
|
|
2565
2627
|
) -> None:
|
|
@@ -2570,6 +2632,8 @@ class CfnSubscriptionFilterProps:
|
|
|
2570
2632
|
:param log_group_name: The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
|
|
2571
2633
|
:param apply_on_transformed_logs: This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see `PutTransformer <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutTransformer.html>`_ . If this value is ``true`` , the subscription filter is applied on the transformed version of the log events instead of the original ingested log events.
|
|
2572
2634
|
:param distribution: The method used to distribute log data to the destination, which can be either random or grouped by log stream.
|
|
2635
|
+
:param emit_system_fields: The list of system fields that are included in the log events sent to the subscription destination. Returns the ``emitSystemFields`` value if it was specified when the subscription filter was created.
|
|
2636
|
+
:param field_selection_criteria: The filter expression that specifies which log events are processed by this subscription filter based on system fields. Returns the ``fieldSelectionCriteria`` value if it was specified when the subscription filter was created.
|
|
2573
2637
|
:param filter_name: The name of the subscription filter.
|
|
2574
2638
|
:param role_arn: The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
|
|
2575
2639
|
|
|
@@ -2590,6 +2654,8 @@ class CfnSubscriptionFilterProps:
|
|
|
2590
2654
|
# the properties below are optional
|
|
2591
2655
|
apply_on_transformed_logs=False,
|
|
2592
2656
|
distribution="distribution",
|
|
2657
|
+
emit_system_fields=["emitSystemFields"],
|
|
2658
|
+
field_selection_criteria="fieldSelectionCriteria",
|
|
2593
2659
|
filter_name="filterName",
|
|
2594
2660
|
role_arn="roleArn"
|
|
2595
2661
|
)
|
|
@@ -2601,6 +2667,8 @@ class CfnSubscriptionFilterProps:
|
|
|
2601
2667
|
check_type(argname="argument log_group_name", value=log_group_name, expected_type=type_hints["log_group_name"])
|
|
2602
2668
|
check_type(argname="argument apply_on_transformed_logs", value=apply_on_transformed_logs, expected_type=type_hints["apply_on_transformed_logs"])
|
|
2603
2669
|
check_type(argname="argument distribution", value=distribution, expected_type=type_hints["distribution"])
|
|
2670
|
+
check_type(argname="argument emit_system_fields", value=emit_system_fields, expected_type=type_hints["emit_system_fields"])
|
|
2671
|
+
check_type(argname="argument field_selection_criteria", value=field_selection_criteria, expected_type=type_hints["field_selection_criteria"])
|
|
2604
2672
|
check_type(argname="argument filter_name", value=filter_name, expected_type=type_hints["filter_name"])
|
|
2605
2673
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
2606
2674
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -2612,6 +2680,10 @@ class CfnSubscriptionFilterProps:
|
|
|
2612
2680
|
self._values["apply_on_transformed_logs"] = apply_on_transformed_logs
|
|
2613
2681
|
if distribution is not None:
|
|
2614
2682
|
self._values["distribution"] = distribution
|
|
2683
|
+
if emit_system_fields is not None:
|
|
2684
|
+
self._values["emit_system_fields"] = emit_system_fields
|
|
2685
|
+
if field_selection_criteria is not None:
|
|
2686
|
+
self._values["field_selection_criteria"] = field_selection_criteria
|
|
2615
2687
|
if filter_name is not None:
|
|
2616
2688
|
self._values["filter_name"] = filter_name
|
|
2617
2689
|
if role_arn is not None:
|
|
@@ -2675,6 +2747,28 @@ class CfnSubscriptionFilterProps:
|
|
|
2675
2747
|
result = self._values.get("distribution")
|
|
2676
2748
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2677
2749
|
|
|
2750
|
+
@builtins.property
|
|
2751
|
+
def emit_system_fields(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2752
|
+
'''The list of system fields that are included in the log events sent to the subscription destination.
|
|
2753
|
+
|
|
2754
|
+
Returns the ``emitSystemFields`` value if it was specified when the subscription filter was created.
|
|
2755
|
+
|
|
2756
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-logs-subscriptionfilter-emitsystemfields
|
|
2757
|
+
'''
|
|
2758
|
+
result = self._values.get("emit_system_fields")
|
|
2759
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2760
|
+
|
|
2761
|
+
@builtins.property
|
|
2762
|
+
def field_selection_criteria(self) -> typing.Optional[builtins.str]:
|
|
2763
|
+
'''The filter expression that specifies which log events are processed by this subscription filter based on system fields.
|
|
2764
|
+
|
|
2765
|
+
Returns the ``fieldSelectionCriteria`` value if it was specified when the subscription filter was created.
|
|
2766
|
+
|
|
2767
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-logs-subscriptionfilter-fieldselectioncriteria
|
|
2768
|
+
'''
|
|
2769
|
+
result = self._values.get("field_selection_criteria")
|
|
2770
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2771
|
+
|
|
2678
2772
|
@builtins.property
|
|
2679
2773
|
def filter_name(self) -> typing.Optional[builtins.str]:
|
|
2680
2774
|
'''The name of the subscription filter.
|
|
@@ -5541,6 +5635,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
|
|
|
5541
5635
|
filter_pattern: IFilterPattern,
|
|
5542
5636
|
metric_name: builtins.str,
|
|
5543
5637
|
metric_namespace: builtins.str,
|
|
5638
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
5544
5639
|
default_value: typing.Optional[jsii.Number] = None,
|
|
5545
5640
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5546
5641
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -5553,6 +5648,7 @@ class ILogGroup(_IResourceWithPolicy_720d64fc, typing_extensions.Protocol):
|
|
|
5553
5648
|
:param filter_pattern: Pattern to search for log events.
|
|
5554
5649
|
:param metric_name: The name of the metric to emit.
|
|
5555
5650
|
:param metric_namespace: The namespace of the metric to emit.
|
|
5651
|
+
:param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
|
|
5556
5652
|
:param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
|
|
5557
5653
|
:param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
|
|
5558
5654
|
:param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
|
|
@@ -5810,6 +5906,7 @@ class _ILogGroupProxy(
|
|
|
5810
5906
|
filter_pattern: IFilterPattern,
|
|
5811
5907
|
metric_name: builtins.str,
|
|
5812
5908
|
metric_namespace: builtins.str,
|
|
5909
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
5813
5910
|
default_value: typing.Optional[jsii.Number] = None,
|
|
5814
5911
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
5815
5912
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -5822,6 +5919,7 @@ class _ILogGroupProxy(
|
|
|
5822
5919
|
:param filter_pattern: Pattern to search for log events.
|
|
5823
5920
|
:param metric_name: The name of the metric to emit.
|
|
5824
5921
|
:param metric_namespace: The namespace of the metric to emit.
|
|
5922
|
+
:param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
|
|
5825
5923
|
:param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
|
|
5826
5924
|
:param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
|
|
5827
5925
|
:param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
|
|
@@ -5835,6 +5933,7 @@ class _ILogGroupProxy(
|
|
|
5835
5933
|
filter_pattern=filter_pattern,
|
|
5836
5934
|
metric_name=metric_name,
|
|
5837
5935
|
metric_namespace=metric_namespace,
|
|
5936
|
+
apply_on_transformed_logs=apply_on_transformed_logs,
|
|
5838
5937
|
default_value=default_value,
|
|
5839
5938
|
dimensions=dimensions,
|
|
5840
5939
|
filter_name=filter_name,
|
|
@@ -7308,6 +7407,7 @@ class LogGroup(
|
|
|
7308
7407
|
filter_pattern: IFilterPattern,
|
|
7309
7408
|
metric_name: builtins.str,
|
|
7310
7409
|
metric_namespace: builtins.str,
|
|
7410
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
7311
7411
|
default_value: typing.Optional[jsii.Number] = None,
|
|
7312
7412
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
7313
7413
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -7320,6 +7420,7 @@ class LogGroup(
|
|
|
7320
7420
|
:param filter_pattern: Pattern to search for log events.
|
|
7321
7421
|
:param metric_name: The name of the metric to emit.
|
|
7322
7422
|
:param metric_namespace: The namespace of the metric to emit.
|
|
7423
|
+
:param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
|
|
7323
7424
|
:param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
|
|
7324
7425
|
:param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
|
|
7325
7426
|
:param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
|
|
@@ -7333,6 +7434,7 @@ class LogGroup(
|
|
|
7333
7434
|
filter_pattern=filter_pattern,
|
|
7334
7435
|
metric_name=metric_name,
|
|
7335
7436
|
metric_namespace=metric_namespace,
|
|
7437
|
+
apply_on_transformed_logs=apply_on_transformed_logs,
|
|
7336
7438
|
default_value=default_value,
|
|
7337
7439
|
dimensions=dimensions,
|
|
7338
7440
|
filter_name=filter_name,
|
|
@@ -8654,6 +8756,7 @@ class MetricFilter(
|
|
|
8654
8756
|
filter_pattern: IFilterPattern,
|
|
8655
8757
|
metric_name: builtins.str,
|
|
8656
8758
|
metric_namespace: builtins.str,
|
|
8759
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
8657
8760
|
default_value: typing.Optional[jsii.Number] = None,
|
|
8658
8761
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8659
8762
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -8667,6 +8770,7 @@ class MetricFilter(
|
|
|
8667
8770
|
:param filter_pattern: Pattern to search for log events.
|
|
8668
8771
|
:param metric_name: The name of the metric to emit.
|
|
8669
8772
|
:param metric_namespace: The namespace of the metric to emit.
|
|
8773
|
+
:param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
|
|
8670
8774
|
:param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
|
|
8671
8775
|
:param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
|
|
8672
8776
|
:param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
|
|
@@ -8682,6 +8786,7 @@ class MetricFilter(
|
|
|
8682
8786
|
filter_pattern=filter_pattern,
|
|
8683
8787
|
metric_name=metric_name,
|
|
8684
8788
|
metric_namespace=metric_namespace,
|
|
8789
|
+
apply_on_transformed_logs=apply_on_transformed_logs,
|
|
8685
8790
|
default_value=default_value,
|
|
8686
8791
|
dimensions=dimensions,
|
|
8687
8792
|
filter_name=filter_name,
|
|
@@ -8756,6 +8861,7 @@ class MetricFilter(
|
|
|
8756
8861
|
"filter_pattern": "filterPattern",
|
|
8757
8862
|
"metric_name": "metricName",
|
|
8758
8863
|
"metric_namespace": "metricNamespace",
|
|
8864
|
+
"apply_on_transformed_logs": "applyOnTransformedLogs",
|
|
8759
8865
|
"default_value": "defaultValue",
|
|
8760
8866
|
"dimensions": "dimensions",
|
|
8761
8867
|
"filter_name": "filterName",
|
|
@@ -8770,6 +8876,7 @@ class MetricFilterOptions:
|
|
|
8770
8876
|
filter_pattern: IFilterPattern,
|
|
8771
8877
|
metric_name: builtins.str,
|
|
8772
8878
|
metric_namespace: builtins.str,
|
|
8879
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
8773
8880
|
default_value: typing.Optional[jsii.Number] = None,
|
|
8774
8881
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8775
8882
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -8781,6 +8888,7 @@ class MetricFilterOptions:
|
|
|
8781
8888
|
:param filter_pattern: Pattern to search for log events.
|
|
8782
8889
|
:param metric_name: The name of the metric to emit.
|
|
8783
8890
|
:param metric_namespace: The namespace of the metric to emit.
|
|
8891
|
+
:param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
|
|
8784
8892
|
:param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
|
|
8785
8893
|
:param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
|
|
8786
8894
|
:param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
|
|
@@ -8804,6 +8912,7 @@ class MetricFilterOptions:
|
|
|
8804
8912
|
metric_namespace="metricNamespace",
|
|
8805
8913
|
|
|
8806
8914
|
# the properties below are optional
|
|
8915
|
+
apply_on_transformed_logs=False,
|
|
8807
8916
|
default_value=123,
|
|
8808
8917
|
dimensions={
|
|
8809
8918
|
"dimensions_key": "dimensions"
|
|
@@ -8818,6 +8927,7 @@ class MetricFilterOptions:
|
|
|
8818
8927
|
check_type(argname="argument filter_pattern", value=filter_pattern, expected_type=type_hints["filter_pattern"])
|
|
8819
8928
|
check_type(argname="argument metric_name", value=metric_name, expected_type=type_hints["metric_name"])
|
|
8820
8929
|
check_type(argname="argument metric_namespace", value=metric_namespace, expected_type=type_hints["metric_namespace"])
|
|
8930
|
+
check_type(argname="argument apply_on_transformed_logs", value=apply_on_transformed_logs, expected_type=type_hints["apply_on_transformed_logs"])
|
|
8821
8931
|
check_type(argname="argument default_value", value=default_value, expected_type=type_hints["default_value"])
|
|
8822
8932
|
check_type(argname="argument dimensions", value=dimensions, expected_type=type_hints["dimensions"])
|
|
8823
8933
|
check_type(argname="argument filter_name", value=filter_name, expected_type=type_hints["filter_name"])
|
|
@@ -8828,6 +8938,8 @@ class MetricFilterOptions:
|
|
|
8828
8938
|
"metric_name": metric_name,
|
|
8829
8939
|
"metric_namespace": metric_namespace,
|
|
8830
8940
|
}
|
|
8941
|
+
if apply_on_transformed_logs is not None:
|
|
8942
|
+
self._values["apply_on_transformed_logs"] = apply_on_transformed_logs
|
|
8831
8943
|
if default_value is not None:
|
|
8832
8944
|
self._values["default_value"] = default_value
|
|
8833
8945
|
if dimensions is not None:
|
|
@@ -8860,6 +8972,18 @@ class MetricFilterOptions:
|
|
|
8860
8972
|
assert result is not None, "Required property 'metric_namespace' is missing"
|
|
8861
8973
|
return typing.cast(builtins.str, result)
|
|
8862
8974
|
|
|
8975
|
+
@builtins.property
|
|
8976
|
+
def apply_on_transformed_logs(self) -> typing.Optional[builtins.bool]:
|
|
8977
|
+
'''Whether the metric filter is applied on the tranformed logs.
|
|
8978
|
+
|
|
8979
|
+
This parameter is valid only for log groups that have an active log transformer.
|
|
8980
|
+
If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events.
|
|
8981
|
+
|
|
8982
|
+
:default: - false
|
|
8983
|
+
'''
|
|
8984
|
+
result = self._values.get("apply_on_transformed_logs")
|
|
8985
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8986
|
+
|
|
8863
8987
|
@builtins.property
|
|
8864
8988
|
def default_value(self) -> typing.Optional[jsii.Number]:
|
|
8865
8989
|
'''The value to emit if the pattern does not match a particular event.
|
|
@@ -8940,6 +9064,7 @@ class MetricFilterOptions:
|
|
|
8940
9064
|
"filter_pattern": "filterPattern",
|
|
8941
9065
|
"metric_name": "metricName",
|
|
8942
9066
|
"metric_namespace": "metricNamespace",
|
|
9067
|
+
"apply_on_transformed_logs": "applyOnTransformedLogs",
|
|
8943
9068
|
"default_value": "defaultValue",
|
|
8944
9069
|
"dimensions": "dimensions",
|
|
8945
9070
|
"filter_name": "filterName",
|
|
@@ -8955,6 +9080,7 @@ class MetricFilterProps(MetricFilterOptions):
|
|
|
8955
9080
|
filter_pattern: IFilterPattern,
|
|
8956
9081
|
metric_name: builtins.str,
|
|
8957
9082
|
metric_namespace: builtins.str,
|
|
9083
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
8958
9084
|
default_value: typing.Optional[jsii.Number] = None,
|
|
8959
9085
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8960
9086
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -8967,6 +9093,7 @@ class MetricFilterProps(MetricFilterOptions):
|
|
|
8967
9093
|
:param filter_pattern: Pattern to search for log events.
|
|
8968
9094
|
:param metric_name: The name of the metric to emit.
|
|
8969
9095
|
:param metric_namespace: The namespace of the metric to emit.
|
|
9096
|
+
:param apply_on_transformed_logs: Whether the metric filter is applied on the tranformed logs. This parameter is valid only for log groups that have an active log transformer. If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events. Default: - false
|
|
8970
9097
|
:param default_value: The value to emit if the pattern does not match a particular event. Default: No metric emitted.
|
|
8971
9098
|
:param dimensions: The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Default: - No dimensions attached to metrics.
|
|
8972
9099
|
:param filter_name: The name of the metric filter. Default: - Cloudformation generated name.
|
|
@@ -8993,6 +9120,7 @@ class MetricFilterProps(MetricFilterOptions):
|
|
|
8993
9120
|
check_type(argname="argument filter_pattern", value=filter_pattern, expected_type=type_hints["filter_pattern"])
|
|
8994
9121
|
check_type(argname="argument metric_name", value=metric_name, expected_type=type_hints["metric_name"])
|
|
8995
9122
|
check_type(argname="argument metric_namespace", value=metric_namespace, expected_type=type_hints["metric_namespace"])
|
|
9123
|
+
check_type(argname="argument apply_on_transformed_logs", value=apply_on_transformed_logs, expected_type=type_hints["apply_on_transformed_logs"])
|
|
8996
9124
|
check_type(argname="argument default_value", value=default_value, expected_type=type_hints["default_value"])
|
|
8997
9125
|
check_type(argname="argument dimensions", value=dimensions, expected_type=type_hints["dimensions"])
|
|
8998
9126
|
check_type(argname="argument filter_name", value=filter_name, expected_type=type_hints["filter_name"])
|
|
@@ -9005,6 +9133,8 @@ class MetricFilterProps(MetricFilterOptions):
|
|
|
9005
9133
|
"metric_namespace": metric_namespace,
|
|
9006
9134
|
"log_group": log_group,
|
|
9007
9135
|
}
|
|
9136
|
+
if apply_on_transformed_logs is not None:
|
|
9137
|
+
self._values["apply_on_transformed_logs"] = apply_on_transformed_logs
|
|
9008
9138
|
if default_value is not None:
|
|
9009
9139
|
self._values["default_value"] = default_value
|
|
9010
9140
|
if dimensions is not None:
|
|
@@ -9037,6 +9167,18 @@ class MetricFilterProps(MetricFilterOptions):
|
|
|
9037
9167
|
assert result is not None, "Required property 'metric_namespace' is missing"
|
|
9038
9168
|
return typing.cast(builtins.str, result)
|
|
9039
9169
|
|
|
9170
|
+
@builtins.property
|
|
9171
|
+
def apply_on_transformed_logs(self) -> typing.Optional[builtins.bool]:
|
|
9172
|
+
'''Whether the metric filter is applied on the tranformed logs.
|
|
9173
|
+
|
|
9174
|
+
This parameter is valid only for log groups that have an active log transformer.
|
|
9175
|
+
If this value is true, the metric filter is applied on the transformed version of the log events instead of the original ingested log events.
|
|
9176
|
+
|
|
9177
|
+
:default: - false
|
|
9178
|
+
'''
|
|
9179
|
+
result = self._values.get("apply_on_transformed_logs")
|
|
9180
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
9181
|
+
|
|
9040
9182
|
@builtins.property
|
|
9041
9183
|
def default_value(self) -> typing.Optional[jsii.Number]:
|
|
9042
9184
|
'''The value to emit if the pattern does not match a particular event.
|
|
@@ -13126,6 +13268,7 @@ class CfnDeliveryDestination(
|
|
|
13126
13268
|
delivery_destination_name="deliveryDestinationName",
|
|
13127
13269
|
delivery_destination_policy=delivery_destination_policy
|
|
13128
13270
|
),
|
|
13271
|
+
delivery_destination_type="deliveryDestinationType",
|
|
13129
13272
|
destination_resource_arn="destinationResourceArn",
|
|
13130
13273
|
output_format="outputFormat",
|
|
13131
13274
|
tags=[CfnTag(
|
|
@@ -13142,6 +13285,7 @@ class CfnDeliveryDestination(
|
|
|
13142
13285
|
*,
|
|
13143
13286
|
name: builtins.str,
|
|
13144
13287
|
delivery_destination_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryDestination.DestinationPolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13288
|
+
delivery_destination_type: typing.Optional[builtins.str] = None,
|
|
13145
13289
|
destination_resource_arn: typing.Optional[builtins.str] = None,
|
|
13146
13290
|
output_format: typing.Optional[builtins.str] = None,
|
|
13147
13291
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -13151,6 +13295,7 @@ class CfnDeliveryDestination(
|
|
|
13151
13295
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
13152
13296
|
:param name: The name of this delivery destination.
|
|
13153
13297
|
:param delivery_destination_policy: An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. For examples of this policy, see `Examples <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html#API_PutDeliveryDestinationPolicy_Examples>`_ in the CloudWatch Logs API Reference.
|
|
13298
|
+
:param delivery_destination_type: Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
|
|
13154
13299
|
:param destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs , an Amazon S3 bucket, or a Firehose stream.
|
|
13155
13300
|
:param output_format: The format of the logs that are sent to this delivery destination.
|
|
13156
13301
|
:param tags: An array of key-value pairs to apply to the delivery destination. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
@@ -13162,6 +13307,7 @@ class CfnDeliveryDestination(
|
|
|
13162
13307
|
props = CfnDeliveryDestinationProps(
|
|
13163
13308
|
name=name,
|
|
13164
13309
|
delivery_destination_policy=delivery_destination_policy,
|
|
13310
|
+
delivery_destination_type=delivery_destination_type,
|
|
13165
13311
|
destination_resource_arn=destination_resource_arn,
|
|
13166
13312
|
output_format=output_format,
|
|
13167
13313
|
tags=tags,
|
|
@@ -13250,15 +13396,6 @@ class CfnDeliveryDestination(
|
|
|
13250
13396
|
'''
|
|
13251
13397
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
13252
13398
|
|
|
13253
|
-
@builtins.property
|
|
13254
|
-
@jsii.member(jsii_name="attrDeliveryDestinationType")
|
|
13255
|
-
def attr_delivery_destination_type(self) -> builtins.str:
|
|
13256
|
-
'''Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
|
|
13257
|
-
|
|
13258
|
-
:cloudformationAttribute: DeliveryDestinationType
|
|
13259
|
-
'''
|
|
13260
|
-
return typing.cast(builtins.str, jsii.get(self, "attrDeliveryDestinationType"))
|
|
13261
|
-
|
|
13262
13399
|
@builtins.property
|
|
13263
13400
|
@jsii.member(jsii_name="cdkTagManager")
|
|
13264
13401
|
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
@@ -13307,6 +13444,19 @@ class CfnDeliveryDestination(
|
|
|
13307
13444
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13308
13445
|
jsii.set(self, "deliveryDestinationPolicy", value) # pyright: ignore[reportArgumentType]
|
|
13309
13446
|
|
|
13447
|
+
@builtins.property
|
|
13448
|
+
@jsii.member(jsii_name="deliveryDestinationType")
|
|
13449
|
+
def delivery_destination_type(self) -> typing.Optional[builtins.str]:
|
|
13450
|
+
'''Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.'''
|
|
13451
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "deliveryDestinationType"))
|
|
13452
|
+
|
|
13453
|
+
@delivery_destination_type.setter
|
|
13454
|
+
def delivery_destination_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
13455
|
+
if __debug__:
|
|
13456
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e9094a474a1f0538a2e8cb2dba700e3a54dadb80fd6043cdc3c06c27ef4e0a61)
|
|
13457
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13458
|
+
jsii.set(self, "deliveryDestinationType", value) # pyright: ignore[reportArgumentType]
|
|
13459
|
+
|
|
13310
13460
|
@builtins.property
|
|
13311
13461
|
@jsii.member(jsii_name="destinationResourceArn")
|
|
13312
13462
|
def destination_resource_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -14978,6 +15128,8 @@ class CfnMetricFilter(
|
|
|
14978
15128
|
|
|
14979
15129
|
# the properties below are optional
|
|
14980
15130
|
apply_on_transformed_logs=False,
|
|
15131
|
+
emit_system_field_dimensions=["emitSystemFieldDimensions"],
|
|
15132
|
+
field_selection_criteria="fieldSelectionCriteria",
|
|
14981
15133
|
filter_name="filterName"
|
|
14982
15134
|
)
|
|
14983
15135
|
'''
|
|
@@ -14991,6 +15143,8 @@ class CfnMetricFilter(
|
|
|
14991
15143
|
log_group_name: builtins.str,
|
|
14992
15144
|
metric_transformations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMetricFilter.MetricTransformationProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
14993
15145
|
apply_on_transformed_logs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15146
|
+
emit_system_field_dimensions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
15147
|
+
field_selection_criteria: typing.Optional[builtins.str] = None,
|
|
14994
15148
|
filter_name: typing.Optional[builtins.str] = None,
|
|
14995
15149
|
) -> None:
|
|
14996
15150
|
'''
|
|
@@ -15000,6 +15154,8 @@ class CfnMetricFilter(
|
|
|
15000
15154
|
:param log_group_name: The name of an existing log group that you want to associate with this metric filter.
|
|
15001
15155
|
:param metric_transformations: The metric transformations.
|
|
15002
15156
|
:param apply_on_transformed_logs: This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see `PutTransformer <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutTransformer.html>`_ . If this value is ``true`` , the metric filter is applied on the transformed version of the log events instead of the original ingested log events.
|
|
15157
|
+
:param emit_system_field_dimensions: The list of system fields that are emitted as additional dimensions in the generated metrics. Returns the ``emitSystemFieldDimensions`` value if it was specified when the metric filter was created.
|
|
15158
|
+
:param field_selection_criteria: The filter expression that specifies which log events are processed by this metric filter based on system fields. Returns the ``fieldSelectionCriteria`` value if it was specified when the metric filter was created.
|
|
15003
15159
|
:param filter_name: The name of the metric filter.
|
|
15004
15160
|
'''
|
|
15005
15161
|
if __debug__:
|
|
@@ -15011,6 +15167,8 @@ class CfnMetricFilter(
|
|
|
15011
15167
|
log_group_name=log_group_name,
|
|
15012
15168
|
metric_transformations=metric_transformations,
|
|
15013
15169
|
apply_on_transformed_logs=apply_on_transformed_logs,
|
|
15170
|
+
emit_system_field_dimensions=emit_system_field_dimensions,
|
|
15171
|
+
field_selection_criteria=field_selection_criteria,
|
|
15014
15172
|
filter_name=filter_name,
|
|
15015
15173
|
)
|
|
15016
15174
|
|
|
@@ -15119,6 +15277,37 @@ class CfnMetricFilter(
|
|
|
15119
15277
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15120
15278
|
jsii.set(self, "applyOnTransformedLogs", value) # pyright: ignore[reportArgumentType]
|
|
15121
15279
|
|
|
15280
|
+
@builtins.property
|
|
15281
|
+
@jsii.member(jsii_name="emitSystemFieldDimensions")
|
|
15282
|
+
def emit_system_field_dimensions(
|
|
15283
|
+
self,
|
|
15284
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
15285
|
+
'''The list of system fields that are emitted as additional dimensions in the generated metrics.'''
|
|
15286
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "emitSystemFieldDimensions"))
|
|
15287
|
+
|
|
15288
|
+
@emit_system_field_dimensions.setter
|
|
15289
|
+
def emit_system_field_dimensions(
|
|
15290
|
+
self,
|
|
15291
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
15292
|
+
) -> None:
|
|
15293
|
+
if __debug__:
|
|
15294
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fb85bbbf4daaebc375fd8c7eaa366dd3b65d115ccf9913372bdd3e96861be308)
|
|
15295
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15296
|
+
jsii.set(self, "emitSystemFieldDimensions", value) # pyright: ignore[reportArgumentType]
|
|
15297
|
+
|
|
15298
|
+
@builtins.property
|
|
15299
|
+
@jsii.member(jsii_name="fieldSelectionCriteria")
|
|
15300
|
+
def field_selection_criteria(self) -> typing.Optional[builtins.str]:
|
|
15301
|
+
'''The filter expression that specifies which log events are processed by this metric filter based on system fields.'''
|
|
15302
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "fieldSelectionCriteria"))
|
|
15303
|
+
|
|
15304
|
+
@field_selection_criteria.setter
|
|
15305
|
+
def field_selection_criteria(self, value: typing.Optional[builtins.str]) -> None:
|
|
15306
|
+
if __debug__:
|
|
15307
|
+
type_hints = typing.get_type_hints(_typecheckingstub__60d4c57a25cb5c0860f998187d0c8393e713de52986857fd0e48ce908497f0ae)
|
|
15308
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15309
|
+
jsii.set(self, "fieldSelectionCriteria", value) # pyright: ignore[reportArgumentType]
|
|
15310
|
+
|
|
15122
15311
|
@builtins.property
|
|
15123
15312
|
@jsii.member(jsii_name="filterName")
|
|
15124
15313
|
def filter_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -15695,6 +15884,8 @@ class CfnSubscriptionFilter(
|
|
|
15695
15884
|
# the properties below are optional
|
|
15696
15885
|
apply_on_transformed_logs=False,
|
|
15697
15886
|
distribution="distribution",
|
|
15887
|
+
emit_system_fields=["emitSystemFields"],
|
|
15888
|
+
field_selection_criteria="fieldSelectionCriteria",
|
|
15698
15889
|
filter_name="filterName",
|
|
15699
15890
|
role_arn="roleArn"
|
|
15700
15891
|
)
|
|
@@ -15710,6 +15901,8 @@ class CfnSubscriptionFilter(
|
|
|
15710
15901
|
log_group_name: builtins.str,
|
|
15711
15902
|
apply_on_transformed_logs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15712
15903
|
distribution: typing.Optional[builtins.str] = None,
|
|
15904
|
+
emit_system_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
15905
|
+
field_selection_criteria: typing.Optional[builtins.str] = None,
|
|
15713
15906
|
filter_name: typing.Optional[builtins.str] = None,
|
|
15714
15907
|
role_arn: typing.Optional[builtins.str] = None,
|
|
15715
15908
|
) -> None:
|
|
@@ -15721,6 +15914,8 @@ class CfnSubscriptionFilter(
|
|
|
15721
15914
|
:param log_group_name: The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
|
|
15722
15915
|
:param apply_on_transformed_logs: This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see `PutTransformer <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutTransformer.html>`_ . If this value is ``true`` , the subscription filter is applied on the transformed version of the log events instead of the original ingested log events.
|
|
15723
15916
|
:param distribution: The method used to distribute log data to the destination, which can be either random or grouped by log stream.
|
|
15917
|
+
:param emit_system_fields: The list of system fields that are included in the log events sent to the subscription destination. Returns the ``emitSystemFields`` value if it was specified when the subscription filter was created.
|
|
15918
|
+
:param field_selection_criteria: The filter expression that specifies which log events are processed by this subscription filter based on system fields. Returns the ``fieldSelectionCriteria`` value if it was specified when the subscription filter was created.
|
|
15724
15919
|
:param filter_name: The name of the subscription filter.
|
|
15725
15920
|
:param role_arn: The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
|
|
15726
15921
|
'''
|
|
@@ -15734,6 +15929,8 @@ class CfnSubscriptionFilter(
|
|
|
15734
15929
|
log_group_name=log_group_name,
|
|
15735
15930
|
apply_on_transformed_logs=apply_on_transformed_logs,
|
|
15736
15931
|
distribution=distribution,
|
|
15932
|
+
emit_system_fields=emit_system_fields,
|
|
15933
|
+
field_selection_criteria=field_selection_criteria,
|
|
15737
15934
|
filter_name=filter_name,
|
|
15738
15935
|
role_arn=role_arn,
|
|
15739
15936
|
)
|
|
@@ -15851,6 +16048,35 @@ class CfnSubscriptionFilter(
|
|
|
15851
16048
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15852
16049
|
jsii.set(self, "distribution", value) # pyright: ignore[reportArgumentType]
|
|
15853
16050
|
|
|
16051
|
+
@builtins.property
|
|
16052
|
+
@jsii.member(jsii_name="emitSystemFields")
|
|
16053
|
+
def emit_system_fields(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
16054
|
+
'''The list of system fields that are included in the log events sent to the subscription destination.'''
|
|
16055
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "emitSystemFields"))
|
|
16056
|
+
|
|
16057
|
+
@emit_system_fields.setter
|
|
16058
|
+
def emit_system_fields(
|
|
16059
|
+
self,
|
|
16060
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
16061
|
+
) -> None:
|
|
16062
|
+
if __debug__:
|
|
16063
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3588fc313efd4c1adce87f72f75d7ba7f300452acb834dd4e3ecf41cded24179)
|
|
16064
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16065
|
+
jsii.set(self, "emitSystemFields", value) # pyright: ignore[reportArgumentType]
|
|
16066
|
+
|
|
16067
|
+
@builtins.property
|
|
16068
|
+
@jsii.member(jsii_name="fieldSelectionCriteria")
|
|
16069
|
+
def field_selection_criteria(self) -> typing.Optional[builtins.str]:
|
|
16070
|
+
'''The filter expression that specifies which log events are processed by this subscription filter based on system fields.'''
|
|
16071
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "fieldSelectionCriteria"))
|
|
16072
|
+
|
|
16073
|
+
@field_selection_criteria.setter
|
|
16074
|
+
def field_selection_criteria(self, value: typing.Optional[builtins.str]) -> None:
|
|
16075
|
+
if __debug__:
|
|
16076
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cf9aef993c8f57b45189c5dbbeac65a444ff57b1cd1261310430e2c395efeab5)
|
|
16077
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16078
|
+
jsii.set(self, "fieldSelectionCriteria", value) # pyright: ignore[reportArgumentType]
|
|
16079
|
+
|
|
15854
16080
|
@builtins.property
|
|
15855
16081
|
@jsii.member(jsii_name="filterName")
|
|
15856
16082
|
def filter_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -19631,6 +19857,7 @@ def _typecheckingstub__53bbf04ee2b4b7e83a98258d41a973972fae20f7537731a0fbcda3e7c
|
|
|
19631
19857
|
*,
|
|
19632
19858
|
name: builtins.str,
|
|
19633
19859
|
delivery_destination_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryDestination.DestinationPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19860
|
+
delivery_destination_type: typing.Optional[builtins.str] = None,
|
|
19634
19861
|
destination_resource_arn: typing.Optional[builtins.str] = None,
|
|
19635
19862
|
output_format: typing.Optional[builtins.str] = None,
|
|
19636
19863
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -19722,6 +19949,8 @@ def _typecheckingstub__524e2e94ad4843f66081953f516426a1396490f271842ac0c5ca7c7ec
|
|
|
19722
19949
|
log_group_name: builtins.str,
|
|
19723
19950
|
metric_transformations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMetricFilter.MetricTransformationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
19724
19951
|
apply_on_transformed_logs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
19952
|
+
emit_system_field_dimensions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
19953
|
+
field_selection_criteria: typing.Optional[builtins.str] = None,
|
|
19725
19954
|
filter_name: typing.Optional[builtins.str] = None,
|
|
19726
19955
|
) -> None:
|
|
19727
19956
|
"""Type checking stubs"""
|
|
@@ -19752,6 +19981,8 @@ def _typecheckingstub__1250ecc947a5eb57e428cd8fedeb9ae0f6da4eb03c22d674fa019a076
|
|
|
19752
19981
|
log_group_name: builtins.str,
|
|
19753
19982
|
apply_on_transformed_logs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
19754
19983
|
distribution: typing.Optional[builtins.str] = None,
|
|
19984
|
+
emit_system_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
19985
|
+
field_selection_criteria: typing.Optional[builtins.str] = None,
|
|
19755
19986
|
filter_name: typing.Optional[builtins.str] = None,
|
|
19756
19987
|
role_arn: typing.Optional[builtins.str] = None,
|
|
19757
19988
|
) -> None:
|
|
@@ -19994,6 +20225,7 @@ def _typecheckingstub__5c3910e9df11478e889b7f25e252df8a33e79b82dd18c304bf83e6be6
|
|
|
19994
20225
|
filter_pattern: IFilterPattern,
|
|
19995
20226
|
metric_name: builtins.str,
|
|
19996
20227
|
metric_namespace: builtins.str,
|
|
20228
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
19997
20229
|
default_value: typing.Optional[jsii.Number] = None,
|
|
19998
20230
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
19999
20231
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -20172,6 +20404,7 @@ def _typecheckingstub__60bdb647264d5f9edd37cf7e07a8b1cde70ce81f1ebb17eb131efa9d1
|
|
|
20172
20404
|
filter_pattern: IFilterPattern,
|
|
20173
20405
|
metric_name: builtins.str,
|
|
20174
20406
|
metric_namespace: builtins.str,
|
|
20407
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
20175
20408
|
default_value: typing.Optional[jsii.Number] = None,
|
|
20176
20409
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20177
20410
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -20368,6 +20601,7 @@ def _typecheckingstub__8d62ba20acf6180e35fd081efe9f21747bf2bd8765dd3a4a5c41cc0f4
|
|
|
20368
20601
|
filter_pattern: IFilterPattern,
|
|
20369
20602
|
metric_name: builtins.str,
|
|
20370
20603
|
metric_namespace: builtins.str,
|
|
20604
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
20371
20605
|
default_value: typing.Optional[jsii.Number] = None,
|
|
20372
20606
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20373
20607
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -20382,6 +20616,7 @@ def _typecheckingstub__a5bb9c8220568f1b3f6adf2d20dcfde3ada18ce4351110a49b3a07078
|
|
|
20382
20616
|
filter_pattern: IFilterPattern,
|
|
20383
20617
|
metric_name: builtins.str,
|
|
20384
20618
|
metric_namespace: builtins.str,
|
|
20619
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
20385
20620
|
default_value: typing.Optional[jsii.Number] = None,
|
|
20386
20621
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20387
20622
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -20396,6 +20631,7 @@ def _typecheckingstub__66722f3b881a30b7ce1b9efa7c76f2539915abe8fe84a770e1e2c4765
|
|
|
20396
20631
|
filter_pattern: IFilterPattern,
|
|
20397
20632
|
metric_name: builtins.str,
|
|
20398
20633
|
metric_namespace: builtins.str,
|
|
20634
|
+
apply_on_transformed_logs: typing.Optional[builtins.bool] = None,
|
|
20399
20635
|
default_value: typing.Optional[jsii.Number] = None,
|
|
20400
20636
|
dimensions: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
20401
20637
|
filter_name: typing.Optional[builtins.str] = None,
|
|
@@ -20890,6 +21126,7 @@ def _typecheckingstub__b48efa0b7b05ab2d9f1417a0b1e0cd7f28039825d1520fe16f6f8dca7
|
|
|
20890
21126
|
*,
|
|
20891
21127
|
name: builtins.str,
|
|
20892
21128
|
delivery_destination_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryDestination.DestinationPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21129
|
+
delivery_destination_type: typing.Optional[builtins.str] = None,
|
|
20893
21130
|
destination_resource_arn: typing.Optional[builtins.str] = None,
|
|
20894
21131
|
output_format: typing.Optional[builtins.str] = None,
|
|
20895
21132
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -20937,6 +21174,12 @@ def _typecheckingstub__318bc8d97cf7e7f129b83631444b5c478bd65a7e80725c9b3be7e3cc4
|
|
|
20937
21174
|
"""Type checking stubs"""
|
|
20938
21175
|
pass
|
|
20939
21176
|
|
|
21177
|
+
def _typecheckingstub__e9094a474a1f0538a2e8cb2dba700e3a54dadb80fd6043cdc3c06c27ef4e0a61(
|
|
21178
|
+
value: typing.Optional[builtins.str],
|
|
21179
|
+
) -> None:
|
|
21180
|
+
"""Type checking stubs"""
|
|
21181
|
+
pass
|
|
21182
|
+
|
|
20940
21183
|
def _typecheckingstub__831ddd5c5bd5a90cbf966f9a711dcab92a21ca60debf21106dbe34c3b30fce44(
|
|
20941
21184
|
value: typing.Optional[builtins.str],
|
|
20942
21185
|
) -> None:
|
|
@@ -21360,6 +21603,8 @@ def _typecheckingstub__aaa6a2018a5f10ec1a79f547b81a628d6f434d037b49c5975131bba2d
|
|
|
21360
21603
|
log_group_name: builtins.str,
|
|
21361
21604
|
metric_transformations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMetricFilter.MetricTransformationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
21362
21605
|
apply_on_transformed_logs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
21606
|
+
emit_system_field_dimensions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
21607
|
+
field_selection_criteria: typing.Optional[builtins.str] = None,
|
|
21363
21608
|
filter_name: typing.Optional[builtins.str] = None,
|
|
21364
21609
|
) -> None:
|
|
21365
21610
|
"""Type checking stubs"""
|
|
@@ -21401,6 +21646,18 @@ def _typecheckingstub__ace95a6c73bb2a95ee90d8e4e4ad81a77108a607e59d44e12214965f5
|
|
|
21401
21646
|
"""Type checking stubs"""
|
|
21402
21647
|
pass
|
|
21403
21648
|
|
|
21649
|
+
def _typecheckingstub__fb85bbbf4daaebc375fd8c7eaa366dd3b65d115ccf9913372bdd3e96861be308(
|
|
21650
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
21651
|
+
) -> None:
|
|
21652
|
+
"""Type checking stubs"""
|
|
21653
|
+
pass
|
|
21654
|
+
|
|
21655
|
+
def _typecheckingstub__60d4c57a25cb5c0860f998187d0c8393e713de52986857fd0e48ce908497f0ae(
|
|
21656
|
+
value: typing.Optional[builtins.str],
|
|
21657
|
+
) -> None:
|
|
21658
|
+
"""Type checking stubs"""
|
|
21659
|
+
pass
|
|
21660
|
+
|
|
21404
21661
|
def _typecheckingstub__ed6515d6733ea675274296cf9952fb0b41bd1778277ae74bde9739d81a205382(
|
|
21405
21662
|
value: typing.Optional[builtins.str],
|
|
21406
21663
|
) -> None:
|
|
@@ -21518,6 +21775,8 @@ def _typecheckingstub__6c7a154450656ee0f7e524d596c7e140faad893a71a7c8b9b8a85fe73
|
|
|
21518
21775
|
log_group_name: builtins.str,
|
|
21519
21776
|
apply_on_transformed_logs: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
21520
21777
|
distribution: typing.Optional[builtins.str] = None,
|
|
21778
|
+
emit_system_fields: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
21779
|
+
field_selection_criteria: typing.Optional[builtins.str] = None,
|
|
21521
21780
|
filter_name: typing.Optional[builtins.str] = None,
|
|
21522
21781
|
role_arn: typing.Optional[builtins.str] = None,
|
|
21523
21782
|
) -> None:
|
|
@@ -21566,6 +21825,18 @@ def _typecheckingstub__4730d6086a07b6e1f3b3d7251138c936aa909d17834505b0c341ec6b4
|
|
|
21566
21825
|
"""Type checking stubs"""
|
|
21567
21826
|
pass
|
|
21568
21827
|
|
|
21828
|
+
def _typecheckingstub__3588fc313efd4c1adce87f72f75d7ba7f300452acb834dd4e3ecf41cded24179(
|
|
21829
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
21830
|
+
) -> None:
|
|
21831
|
+
"""Type checking stubs"""
|
|
21832
|
+
pass
|
|
21833
|
+
|
|
21834
|
+
def _typecheckingstub__cf9aef993c8f57b45189c5dbbeac65a444ff57b1cd1261310430e2c395efeab5(
|
|
21835
|
+
value: typing.Optional[builtins.str],
|
|
21836
|
+
) -> None:
|
|
21837
|
+
"""Type checking stubs"""
|
|
21838
|
+
pass
|
|
21839
|
+
|
|
21569
21840
|
def _typecheckingstub__4ccf855abfc15a31ed667e6619b6f1711fc4ef753c64ec0b754421d81c8edb75(
|
|
21570
21841
|
value: typing.Optional[builtins.str],
|
|
21571
21842
|
) -> None:
|
|
@@ -21923,3 +22194,6 @@ def _typecheckingstub__bea2654ebc88ef45acb691425a17897e52198e8f268040b952558fccd
|
|
|
21923
22194
|
) -> None:
|
|
21924
22195
|
"""Type checking stubs"""
|
|
21925
22196
|
pass
|
|
22197
|
+
|
|
22198
|
+
for cls in [IAccountPolicyRef, IDeliveryDestinationRef, IDeliveryRef, IDeliverySourceRef, IDestinationRef, IFilterPattern, IIntegrationRef, ILogAnomalyDetectorRef, ILogGroup, ILogGroupRef, ILogStream, ILogStreamRef, ILogSubscriptionDestination, IMetricFilterRef, IProcessor, IQueryDefinitionRef, IResourcePolicyRef, ISubscriptionFilterRef, ITransformerRef]:
|
|
22199
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|