aws-cdk-lib 2.147.2__py3-none-any.whl → 2.148.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.
- aws_cdk/__init__.py +7 -5
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.147.2.jsii.tgz → aws-cdk-lib@2.148.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +1 -1
- aws_cdk/assertions/__init__.py +1 -1
- aws_cdk/aws_accessanalyzer/__init__.py +1 -1
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +1 -1
- aws_cdk/aws_amplify/__init__.py +1 -1
- aws_cdk/aws_amplifyuibuilder/__init__.py +1 -1
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +1 -1
- aws_cdk/aws_appconfig/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +1 -1
- aws_cdk/aws_appintegrations/__init__.py +1 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +1 -1
- aws_cdk/aws_applicationinsights/__init__.py +1 -1
- aws_cdk/aws_applicationsignals/__init__.py +143 -87
- aws_cdk/aws_appmesh/__init__.py +1 -1
- aws_cdk/aws_apprunner/__init__.py +1 -1
- aws_cdk/aws_appstream/__init__.py +1 -1
- aws_cdk/aws_appsync/__init__.py +1 -1
- aws_cdk/aws_apptest/__init__.py +3042 -0
- aws_cdk/aws_aps/__init__.py +1 -1
- aws_cdk/aws_arczonalshift/__init__.py +1 -1
- aws_cdk/aws_athena/__init__.py +1 -1
- aws_cdk/aws_auditmanager/__init__.py +1 -1
- aws_cdk/aws_autoscaling/__init__.py +1 -1
- aws_cdk/aws_autoscaling_common/__init__.py +1 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +1 -1
- aws_cdk/aws_autoscalingplans/__init__.py +1 -1
- aws_cdk/aws_b2bi/__init__.py +1 -1
- aws_cdk/aws_backup/__init__.py +4 -6
- aws_cdk/aws_backupgateway/__init__.py +1 -1
- aws_cdk/aws_batch/__init__.py +1 -216
- aws_cdk/aws_bcmdataexports/__init__.py +1 -1
- aws_cdk/aws_bedrock/__init__.py +178 -1
- aws_cdk/aws_billingconductor/__init__.py +1 -1
- aws_cdk/aws_budgets/__init__.py +1 -1
- aws_cdk/aws_cassandra/__init__.py +1 -1
- aws_cdk/aws_ce/__init__.py +1 -1
- aws_cdk/aws_certificatemanager/__init__.py +1 -1
- aws_cdk/aws_chatbot/__init__.py +1 -1
- aws_cdk/aws_cleanrooms/__init__.py +1 -1
- aws_cdk/aws_cleanroomsml/__init__.py +1 -1
- aws_cdk/aws_cloud9/__init__.py +1 -1
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +1 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +44 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
- aws_cdk/aws_cloudtrail/__init__.py +20 -12
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +1 -1
- aws_cdk/aws_codeartifact/__init__.py +11 -9
- aws_cdk/aws_codebuild/__init__.py +193 -6
- aws_cdk/aws_codecommit/__init__.py +1 -1
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_codedeploy/__init__.py +35 -4
- aws_cdk/aws_codeguruprofiler/__init__.py +1 -1
- aws_cdk/aws_codegurureviewer/__init__.py +1 -1
- aws_cdk/aws_codepipeline/__init__.py +1 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_codestarconnections/__init__.py +1 -1
- aws_cdk/aws_codestarnotifications/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +56 -18
- aws_cdk/aws_comprehend/__init__.py +1 -1
- aws_cdk/aws_config/__init__.py +1 -1
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_connectcampaigns/__init__.py +1 -1
- aws_cdk/aws_controltower/__init__.py +1 -1
- aws_cdk/aws_cur/__init__.py +1 -1
- aws_cdk/aws_customerprofiles/__init__.py +1 -1
- aws_cdk/aws_databrew/__init__.py +1 -1
- aws_cdk/aws_datapipeline/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +12 -12
- aws_cdk/aws_datazone/__init__.py +1 -1
- aws_cdk/aws_dax/__init__.py +1 -1
- aws_cdk/aws_deadline/__init__.py +3 -2
- aws_cdk/aws_detective/__init__.py +1 -1
- aws_cdk/aws_devicefarm/__init__.py +1 -1
- aws_cdk/aws_devopsguru/__init__.py +1 -1
- aws_cdk/aws_directoryservice/__init__.py +1 -1
- aws_cdk/aws_dlm/__init__.py +1 -1
- aws_cdk/aws_dms/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +1 -1
- aws_cdk/aws_docdbelastic/__init__.py +1 -1
- aws_cdk/aws_dynamodb/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +24 -26
- aws_cdk/aws_ecr/__init__.py +1 -1
- aws_cdk/aws_ecr_assets/__init__.py +1 -1
- aws_cdk/aws_ecs/__init__.py +29 -25
- aws_cdk/aws_ecs_patterns/__init__.py +1 -1
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +619 -31
- aws_cdk/aws_elasticache/__init__.py +29 -18
- aws_cdk/aws_elasticbeanstalk/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +1 -1
- aws_cdk/aws_elasticsearch/__init__.py +1 -1
- aws_cdk/aws_emr/__init__.py +1 -1
- aws_cdk/aws_emrcontainers/__init__.py +1 -1
- aws_cdk/aws_emrserverless/__init__.py +34 -7
- aws_cdk/aws_entityresolution/__init__.py +1 -1
- aws_cdk/aws_events/__init__.py +1 -1
- aws_cdk/aws_events_targets/__init__.py +1 -1
- aws_cdk/aws_eventschemas/__init__.py +1 -1
- aws_cdk/aws_evidently/__init__.py +1 -1
- aws_cdk/aws_finspace/__init__.py +1 -1
- aws_cdk/aws_fis/__init__.py +1 -1
- aws_cdk/aws_fms/__init__.py +1 -1
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_frauddetector/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +186 -2
- aws_cdk/aws_gamelift/__init__.py +10 -6
- aws_cdk/aws_globalaccelerator/__init__.py +1 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +18 -14
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_greengrass/__init__.py +1 -1
- aws_cdk/aws_greengrassv2/__init__.py +1 -1
- aws_cdk/aws_groundstation/__init__.py +1 -1
- aws_cdk/aws_guardduty/__init__.py +171 -132
- aws_cdk/aws_healthimaging/__init__.py +1 -1
- aws_cdk/aws_healthlake/__init__.py +1 -1
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_identitystore/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +1 -1
- aws_cdk/aws_inspector/__init__.py +1 -1
- aws_cdk/aws_inspectorv2/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_iot1click/__init__.py +1 -1
- aws_cdk/aws_iotanalytics/__init__.py +1 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +1 -1
- aws_cdk/aws_iotevents/__init__.py +1 -1
- aws_cdk/aws_iotfleethub/__init__.py +1 -1
- aws_cdk/aws_iotfleetwise/__init__.py +1 -1
- aws_cdk/aws_iotsitewise/__init__.py +1 -1
- aws_cdk/aws_iotthingsgraph/__init__.py +1 -1
- aws_cdk/aws_iottwinmaker/__init__.py +1 -1
- aws_cdk/aws_iotwireless/__init__.py +1 -1
- aws_cdk/aws_ivs/__init__.py +1 -1
- aws_cdk/aws_ivschat/__init__.py +1 -1
- aws_cdk/aws_kafkaconnect/__init__.py +1 -1
- aws_cdk/aws_kendra/__init__.py +1 -1
- aws_cdk/aws_kendraranking/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +1 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +93 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +93 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +301 -94
- aws_cdk/aws_kinesisvideo/__init__.py +1 -1
- aws_cdk/aws_kms/__init__.py +16 -15
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +160 -1
- aws_cdk/aws_lambda_destinations/__init__.py +1 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +1 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
- aws_cdk/aws_lex/__init__.py +1 -1
- aws_cdk/aws_licensemanager/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +1 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_logs_destinations/__init__.py +1 -1
- aws_cdk/aws_lookoutequipment/__init__.py +1 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +1 -1
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +1 -1
- aws_cdk/aws_macie/__init__.py +1 -1
- aws_cdk/aws_managedblockchain/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +1 -1
- aws_cdk/aws_mediaconvert/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +1 -1
- aws_cdk/aws_mediapackage/__init__.py +1 -1
- aws_cdk/aws_mediapackagev2/__init__.py +33 -1
- aws_cdk/aws_mediastore/__init__.py +1 -1
- aws_cdk/aws_mediatailor/__init__.py +1 -1
- aws_cdk/aws_memorydb/__init__.py +1 -1
- aws_cdk/aws_msk/__init__.py +1 -1
- aws_cdk/aws_mwaa/__init__.py +1 -1
- aws_cdk/aws_neptune/__init__.py +1 -1
- aws_cdk/aws_neptunegraph/__init__.py +1 -1
- aws_cdk/aws_networkfirewall/__init__.py +1 -1
- aws_cdk/aws_networkmanager/__init__.py +10 -10
- aws_cdk/aws_nimblestudio/__init__.py +1 -1
- aws_cdk/aws_oam/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +2 -2
- aws_cdk/aws_opensearchserverless/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +1 -1
- aws_cdk/aws_opsworks/__init__.py +1 -1
- aws_cdk/aws_opsworkscm/__init__.py +8 -4
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_osis/__init__.py +1 -1
- aws_cdk/aws_panorama/__init__.py +1 -1
- aws_cdk/aws_paymentcryptography/__init__.py +1 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +1 -1
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +1 -1
- aws_cdk/aws_pinpointemail/__init__.py +1 -1
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_proton/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +1 -1
- aws_cdk/aws_qldb/__init__.py +1 -1
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_ram/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +515 -34
- aws_cdk/aws_redshift/__init__.py +10 -10
- aws_cdk/aws_redshiftserverless/__init__.py +1 -1
- aws_cdk/aws_refactorspaces/__init__.py +1 -1
- aws_cdk/aws_rekognition/__init__.py +1 -1
- aws_cdk/aws_resiliencehub/__init__.py +1 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +1 -1
- aws_cdk/aws_resourcegroups/__init__.py +1 -1
- aws_cdk/aws_robomaker/__init__.py +1 -1
- aws_cdk/aws_rolesanywhere/__init__.py +1 -1
- aws_cdk/aws_route53/__init__.py +1 -1
- aws_cdk/aws_route53_patterns/__init__.py +1 -1
- aws_cdk/aws_route53_targets/__init__.py +1 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +1 -1
- aws_cdk/aws_rum/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +30 -6
- aws_cdk/aws_s3_assets/__init__.py +1 -1
- aws_cdk/aws_s3_deployment/__init__.py +1 -1
- aws_cdk/aws_s3_notifications/__init__.py +1 -1
- aws_cdk/aws_s3express/__init__.py +1 -1
- aws_cdk/aws_s3objectlambda/__init__.py +1 -1
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +1 -1
- aws_cdk/aws_sam/__init__.py +1 -1
- aws_cdk/aws_scheduler/__init__.py +1 -1
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +1 -1
- aws_cdk/aws_securityhub/__init__.py +1 -1
- aws_cdk/aws_securitylake/__init__.py +1 -1
- aws_cdk/aws_servicecatalog/__init__.py +1 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +1 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -4
- aws_cdk/aws_ses/__init__.py +86 -1
- aws_cdk/aws_ses_actions/__init__.py +1 -1
- aws_cdk/aws_shield/__init__.py +1 -1
- aws_cdk/aws_signer/__init__.py +42 -1
- aws_cdk/aws_simspaceweaver/__init__.py +1 -1
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_sns_subscriptions/__init__.py +1 -1
- aws_cdk/aws_sqs/__init__.py +7 -9
- aws_cdk/aws_ssm/__init__.py +106 -37
- aws_cdk/aws_ssmcontacts/__init__.py +1 -1
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_sso/__init__.py +1 -1
- aws_cdk/aws_stepfunctions/__init__.py +1 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +793 -152
- aws_cdk/aws_supportapp/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +1 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +1 -1
- aws_cdk/aws_timestream/__init__.py +1 -1
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +602 -9
- aws_cdk/aws_voiceid/__init__.py +1 -1
- aws_cdk/aws_vpclattice/__init__.py +1 -1
- aws_cdk/aws_waf/__init__.py +1 -1
- aws_cdk/aws_wafregional/__init__.py +1 -1
- aws_cdk/aws_wafv2/__init__.py +1 -1
- aws_cdk/aws_wisdom/__init__.py +1 -1
- aws_cdk/aws_workspaces/__init__.py +774 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +1 -1
- aws_cdk/aws_workspacesweb/__init__.py +5 -5
- aws_cdk/aws_xray/__init__.py +1 -1
- aws_cdk/cloud_assembly_schema/__init__.py +1 -1
- aws_cdk/cloudformation_include/__init__.py +1 -1
- aws_cdk/custom_resources/__init__.py +1 -1
- aws_cdk/cx_api/__init__.py +19 -1
- aws_cdk/lambda_layer_awscli/__init__.py +1 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +1 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +1 -1
- aws_cdk/pipelines/__init__.py +2 -2
- aws_cdk/region_info/__init__.py +1 -1
- aws_cdk/triggers/__init__.py +1 -1
- {aws_cdk_lib-2.147.2.dist-info → aws_cdk_lib-2.148.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.148.0.dist-info/RECORD +291 -0
- aws_cdk_lib-2.147.2.dist-info/RECORD +0 -290
- {aws_cdk_lib-2.147.2.dist-info → aws_cdk_lib-2.148.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.147.2.dist-info → aws_cdk_lib-2.148.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.147.2.dist-info → aws_cdk_lib-2.148.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.147.2.dist-info → aws_cdk_lib-2.148.0.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS::ApplicationSignals Construct Library
|
|
3
3
|
|
|
4
4
|
<!--BEGIN STABILITY BANNER-->---
|
|
@@ -70,7 +70,29 @@ class CfnServiceLevelObjective(
|
|
|
70
70
|
metaclass=jsii.JSIIMeta,
|
|
71
71
|
jsii_type="aws-cdk-lib.aws_applicationsignals.CfnServiceLevelObjective",
|
|
72
72
|
):
|
|
73
|
-
'''
|
|
73
|
+
'''Creates or updates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations.
|
|
74
|
+
|
|
75
|
+
Use SLOs to set and track specific target levels for the reliability and availability of your applications and services. SLOs use service level indicators (SLIs) to calculate whether the application is performing at the level that you want.
|
|
76
|
+
|
|
77
|
+
Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch measures this target frequently you can find whether it has been breached.
|
|
78
|
+
|
|
79
|
+
When you create an SLO, you set an *attainment goal* for it. An *attainment goal* is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state.
|
|
80
|
+
|
|
81
|
+
After you have created an SLO, you can retrieve error budget reports for it. An *error budget* is the number of periods or amount of time that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. for example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month translates to an error budget of 21.9 minutes of downtime per month.
|
|
82
|
+
|
|
83
|
+
When you call this operation, Application Signals creates the *AWSServiceRoleForCloudWatchApplicationSignals* service-linked role, if it doesn't already exist in your account. This service- linked role has the following permissions:
|
|
84
|
+
|
|
85
|
+
- ``xray:GetServiceGraph``
|
|
86
|
+
- ``logs:StartQuery``
|
|
87
|
+
- ``logs:GetQueryResults``
|
|
88
|
+
- ``cloudwatch:GetMetricData``
|
|
89
|
+
- ``cloudwatch:ListMetrics``
|
|
90
|
+
- ``tag:GetResources``
|
|
91
|
+
- ``autoscaling:DescribeAutoScalingGroups``
|
|
92
|
+
|
|
93
|
+
You can easily set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability. You can also set SLOs against any CloudWatch metric or math expression that produces a time series.
|
|
94
|
+
|
|
95
|
+
For more information about SLOs, see `Service level objectives (SLOs) <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-ServiceLevelObjectives.html>`_ .
|
|
74
96
|
|
|
75
97
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-servicelevelobjective.html
|
|
76
98
|
:cloudformationResource: AWS::ApplicationSignals::ServiceLevelObjective
|
|
@@ -159,11 +181,11 @@ class CfnServiceLevelObjective(
|
|
|
159
181
|
'''
|
|
160
182
|
:param scope: Scope in which this resource is defined.
|
|
161
183
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
162
|
-
:param name:
|
|
163
|
-
:param sli:
|
|
164
|
-
:param description: An optional description for this SLO. Default
|
|
165
|
-
:param goal:
|
|
166
|
-
:param tags:
|
|
184
|
+
:param name: A name for this SLO.
|
|
185
|
+
:param sli: A structure containing information about the performance metric that this SLO monitors.
|
|
186
|
+
:param description: An optional description for this SLO. Default: - "No description"
|
|
187
|
+
:param goal: This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
|
|
188
|
+
:param tags: A list of key-value pairs to associate with the SLO. You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
|
|
167
189
|
'''
|
|
168
190
|
if __debug__:
|
|
169
191
|
type_hints = typing.get_type_hints(_typecheckingstub__8476d024be5b448cfb8f9ae2f80fa7f2083296f712cdb7cd12e69365dd7adba1)
|
|
@@ -217,7 +239,7 @@ class CfnServiceLevelObjective(
|
|
|
217
239
|
@builtins.property
|
|
218
240
|
@jsii.member(jsii_name="attrCreatedTime")
|
|
219
241
|
def attr_created_time(self) -> jsii.Number:
|
|
220
|
-
'''
|
|
242
|
+
'''The date and time that this SLO was created.
|
|
221
243
|
|
|
222
244
|
:cloudformationAttribute: CreatedTime
|
|
223
245
|
'''
|
|
@@ -226,7 +248,7 @@ class CfnServiceLevelObjective(
|
|
|
226
248
|
@builtins.property
|
|
227
249
|
@jsii.member(jsii_name="attrLastUpdatedTime")
|
|
228
250
|
def attr_last_updated_time(self) -> jsii.Number:
|
|
229
|
-
'''
|
|
251
|
+
'''The time that this SLO was most recently updated.
|
|
230
252
|
|
|
231
253
|
:cloudformationAttribute: LastUpdatedTime
|
|
232
254
|
'''
|
|
@@ -246,7 +268,7 @@ class CfnServiceLevelObjective(
|
|
|
246
268
|
@builtins.property
|
|
247
269
|
@jsii.member(jsii_name="name")
|
|
248
270
|
def name(self) -> builtins.str:
|
|
249
|
-
'''
|
|
271
|
+
'''A name for this SLO.'''
|
|
250
272
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
251
273
|
|
|
252
274
|
@name.setter
|
|
@@ -261,7 +283,7 @@ class CfnServiceLevelObjective(
|
|
|
261
283
|
def sli(
|
|
262
284
|
self,
|
|
263
285
|
) -> typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.SliProperty"]:
|
|
264
|
-
'''
|
|
286
|
+
'''A structure containing information about the performance metric that this SLO monitors.'''
|
|
265
287
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.SliProperty"], jsii.get(self, "sli"))
|
|
266
288
|
|
|
267
289
|
@sli.setter
|
|
@@ -292,7 +314,7 @@ class CfnServiceLevelObjective(
|
|
|
292
314
|
def goal(
|
|
293
315
|
self,
|
|
294
316
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.GoalProperty"]]:
|
|
295
|
-
'''
|
|
317
|
+
'''This structure contains the attributes that determine the goal of an SLO.'''
|
|
296
318
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.GoalProperty"]], jsii.get(self, "goal"))
|
|
297
319
|
|
|
298
320
|
@goal.setter
|
|
@@ -308,7 +330,7 @@ class CfnServiceLevelObjective(
|
|
|
308
330
|
@builtins.property
|
|
309
331
|
@jsii.member(jsii_name="tags")
|
|
310
332
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
311
|
-
'''
|
|
333
|
+
'''A list of key-value pairs to associate with the SLO.'''
|
|
312
334
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
313
335
|
|
|
314
336
|
@tags.setter
|
|
@@ -337,9 +359,9 @@ class CfnServiceLevelObjective(
|
|
|
337
359
|
) -> None:
|
|
338
360
|
'''If the interval for this service level objective is a calendar interval, this structure contains the interval specifications.
|
|
339
361
|
|
|
340
|
-
:param duration: Specifies the duration of each calendar interval. For example, if ``Duration`` is 1 and ``DurationUnit`` is ``MONTH
|
|
362
|
+
:param duration: Specifies the duration of each calendar interval. For example, if ``Duration`` is ``1`` and ``DurationUnit`` is ``MONTH`` , each interval is one month, aligned with the calendar.
|
|
341
363
|
:param duration_unit: Specifies the calendar interval unit.
|
|
342
|
-
:param start_time:
|
|
364
|
+
:param start_time: The date and time when you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: ``1698778057`` As soon as one calendar interval ends, another automatically begins.
|
|
343
365
|
|
|
344
366
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-calendarinterval.html
|
|
345
367
|
:exampleMetadata: fixture=_generated
|
|
@@ -371,7 +393,7 @@ class CfnServiceLevelObjective(
|
|
|
371
393
|
def duration(self) -> jsii.Number:
|
|
372
394
|
'''Specifies the duration of each calendar interval.
|
|
373
395
|
|
|
374
|
-
For example, if ``Duration`` is 1 and ``DurationUnit`` is ``MONTH
|
|
396
|
+
For example, if ``Duration`` is ``1`` and ``DurationUnit`` is ``MONTH`` , each interval is one month, aligned with the calendar.
|
|
375
397
|
|
|
376
398
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-calendarinterval.html#cfn-applicationsignals-servicelevelobjective-calendarinterval-duration
|
|
377
399
|
'''
|
|
@@ -391,9 +413,12 @@ class CfnServiceLevelObjective(
|
|
|
391
413
|
|
|
392
414
|
@builtins.property
|
|
393
415
|
def start_time(self) -> jsii.Number:
|
|
394
|
-
'''
|
|
416
|
+
'''The date and time when you want the first interval to start.
|
|
395
417
|
|
|
396
418
|
Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m.
|
|
419
|
+
|
|
420
|
+
When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: ``1698778057``
|
|
421
|
+
|
|
397
422
|
As soon as one calendar interval ends, another automatically begins.
|
|
398
423
|
|
|
399
424
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-calendarinterval.html#cfn-applicationsignals-servicelevelobjective-calendarinterval-starttime
|
|
@@ -422,10 +447,12 @@ class CfnServiceLevelObjective(
|
|
|
422
447
|
def __init__(self, *, name: builtins.str, value: builtins.str) -> None:
|
|
423
448
|
'''A dimension is a name/value pair that is part of the identity of a metric.
|
|
424
449
|
|
|
425
|
-
Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish ``InstanceId`` as a dimension name, and the actual instance ID as the value for that dimension.
|
|
450
|
+
Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish ``InstanceId`` as a dimension name, and the actual instance ID as the value for that dimension.
|
|
426
451
|
|
|
427
|
-
|
|
428
|
-
|
|
452
|
+
You can assign up to 30 dimensions to a metric.
|
|
453
|
+
|
|
454
|
+
:param name: The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon ( ``:`` ). ASCII control characters are not supported as part of dimension names.
|
|
455
|
+
:param value: The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values.
|
|
429
456
|
|
|
430
457
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-dimension.html
|
|
431
458
|
:exampleMetadata: fixture=_generated
|
|
@@ -454,7 +481,7 @@ class CfnServiceLevelObjective(
|
|
|
454
481
|
def name(self) -> builtins.str:
|
|
455
482
|
'''The name of the dimension.
|
|
456
483
|
|
|
457
|
-
Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (
|
|
484
|
+
Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon ( ``:`` ). ASCII control characters are not supported as part of dimension names.
|
|
458
485
|
|
|
459
486
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-dimension.html#cfn-applicationsignals-servicelevelobjective-dimension-name
|
|
460
487
|
'''
|
|
@@ -466,7 +493,7 @@ class CfnServiceLevelObjective(
|
|
|
466
493
|
def value(self) -> builtins.str:
|
|
467
494
|
'''The value of the dimension.
|
|
468
495
|
|
|
469
|
-
Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values
|
|
496
|
+
Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values.
|
|
470
497
|
|
|
471
498
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-dimension.html#cfn-applicationsignals-servicelevelobjective-dimension-value
|
|
472
499
|
'''
|
|
@@ -502,11 +529,11 @@ class CfnServiceLevelObjective(
|
|
|
502
529
|
interval: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnServiceLevelObjective.IntervalProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
503
530
|
warning_threshold: typing.Optional[jsii.Number] = None,
|
|
504
531
|
) -> None:
|
|
505
|
-
'''
|
|
532
|
+
'''This structure contains the attributes that determine the goal of an SLO.
|
|
506
533
|
|
|
507
534
|
This includes the time period for evaluation and the attainment threshold.
|
|
508
535
|
|
|
509
|
-
:param attainment_goal: The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
|
|
536
|
+
:param attainment_goal: The threshold that determines if the goal is being met. An *attainment goal* is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
|
|
510
537
|
:param interval: The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval. If you omit this parameter, a rolling interval of 7 days is used.
|
|
511
538
|
:param warning_threshold: The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.
|
|
512
539
|
|
|
@@ -552,7 +579,8 @@ class CfnServiceLevelObjective(
|
|
|
552
579
|
def attainment_goal(self) -> typing.Optional[jsii.Number]:
|
|
553
580
|
'''The threshold that determines if the goal is being met.
|
|
554
581
|
|
|
555
|
-
An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state.
|
|
582
|
+
An *attainment goal* is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state.
|
|
583
|
+
|
|
556
584
|
If you omit this parameter, 99 is used to represent 99% as the attainment goal.
|
|
557
585
|
|
|
558
586
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-goal.html#cfn-applicationsignals-servicelevelobjective-goal-attainmentgoal
|
|
@@ -564,9 +592,8 @@ class CfnServiceLevelObjective(
|
|
|
564
592
|
def interval(
|
|
565
593
|
self,
|
|
566
594
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.IntervalProperty"]]:
|
|
567
|
-
'''The time period used to evaluate the SLO.
|
|
595
|
+
'''The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.
|
|
568
596
|
|
|
569
|
-
It can be either a calendar interval or rolling interval.
|
|
570
597
|
If you omit this parameter, a rolling interval of 7 days is used.
|
|
571
598
|
|
|
572
599
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-goal.html#cfn-applicationsignals-servicelevelobjective-goal-interval
|
|
@@ -614,10 +641,9 @@ class CfnServiceLevelObjective(
|
|
|
614
641
|
'''The time period used to evaluate the SLO.
|
|
615
642
|
|
|
616
643
|
It can be either a calendar interval or rolling interval.
|
|
617
|
-
If you omit this parameter, a rolling interval of 7 days is used.
|
|
618
644
|
|
|
619
|
-
:param calendar_interval: If the interval
|
|
620
|
-
:param rolling_interval: If the interval is a
|
|
645
|
+
:param calendar_interval: If the interval is a calendar interval, this structure contains the interval specifications.
|
|
646
|
+
:param rolling_interval: If the interval is a rolling interval, this structure contains the interval specifications.
|
|
621
647
|
|
|
622
648
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-interval.html
|
|
623
649
|
:exampleMetadata: fixture=_generated
|
|
@@ -654,7 +680,7 @@ class CfnServiceLevelObjective(
|
|
|
654
680
|
def calendar_interval(
|
|
655
681
|
self,
|
|
656
682
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.CalendarIntervalProperty"]]:
|
|
657
|
-
'''If the interval
|
|
683
|
+
'''If the interval is a calendar interval, this structure contains the interval specifications.
|
|
658
684
|
|
|
659
685
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-interval.html#cfn-applicationsignals-servicelevelobjective-interval-calendarinterval
|
|
660
686
|
'''
|
|
@@ -665,7 +691,7 @@ class CfnServiceLevelObjective(
|
|
|
665
691
|
def rolling_interval(
|
|
666
692
|
self,
|
|
667
693
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.RollingIntervalProperty"]]:
|
|
668
|
-
'''If the interval is a
|
|
694
|
+
'''If the interval is a rolling interval, this structure contains the interval specifications.
|
|
669
695
|
|
|
670
696
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-interval.html#cfn-applicationsignals-servicelevelobjective-interval-rollinginterval
|
|
671
697
|
'''
|
|
@@ -706,13 +732,17 @@ class CfnServiceLevelObjective(
|
|
|
706
732
|
) -> None:
|
|
707
733
|
'''Use this structure to define a metric or metric math expression that you want to use as for a service level objective.
|
|
708
734
|
|
|
709
|
-
Each ``MetricDataQuery`` in the ``MetricDataQueries`` array specifies either a metric to retrieve, or a metric math expression to be performed on retrieved metrics. A single ``MetricDataQueries`` array can include as many as 20 ``MetricDataQuery`` structures in the array. The 20 structures can include as many as 10 structures that contain a ``MetricStat`` parameter to retrieve a metric, and as many as 10 structures that contain the ``Expression`` parameter to perform a math expression. Of those Expression structures, exactly one must have true as the value for ``ReturnData
|
|
735
|
+
Each ``MetricDataQuery`` in the ``MetricDataQueries`` array specifies either a metric to retrieve, or a metric math expression to be performed on retrieved metrics. A single ``MetricDataQueries`` array can include as many as 20 ``MetricDataQuery`` structures in the array. The 20 structures can include as many as 10 structures that contain a ``MetricStat`` parameter to retrieve a metric, and as many as 10 structures that contain the ``Expression`` parameter to perform a math expression. Of those ``Expression`` structures, exactly one must have true as the value for ``ReturnData`` . The result of this expression used for the SLO.
|
|
736
|
+
|
|
737
|
+
For more information about metric math expressions, see `Use metric math <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html>`_ .
|
|
738
|
+
|
|
739
|
+
Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` but not both.
|
|
710
740
|
|
|
711
|
-
:param id: A short name used to tie this object to the results in the response.
|
|
712
|
-
:param account_id: The ID of the account where
|
|
713
|
-
:param expression:
|
|
714
|
-
:param metric_stat: A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery object, you must specify either Expression or MetricStat but not both.
|
|
715
|
-
:param return_data:
|
|
741
|
+
:param id: A short name used to tie this object to the results in the response. This ``Id`` must be unique within a ``MetricDataQueries`` array. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the metric math expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
|
|
742
|
+
:param account_id: The ID of the account where this metric is located. If you are performing this operation in a monitoring account, use this to specify which source account to retrieve this metric from.
|
|
743
|
+
:param expression: This field can contain a metric math expression to be performed on the other metrics that you are retrieving within this ``MetricDataQueries`` structure. A math expression can use the ``Id`` of the other metrics or queries to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions. For more information about metric math expressions, see `Metric Math Syntax and Functions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax>`_ in the *Amazon CloudWatch User Guide* . Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` but not both.
|
|
744
|
+
:param metric_stat: A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` but not both.
|
|
745
|
+
:param return_data: Use this only if you are using a metric math expression for the SLO. Specify ``true`` for ``ReturnData`` for only the one expression result to use as the alarm. For all other metrics and expressions in the same ``CreateServiceLevelObjective`` operation, specify ``ReturnData`` as ``false`` .
|
|
716
746
|
|
|
717
747
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricdataquery.html
|
|
718
748
|
:exampleMetadata: fixture=_generated
|
|
@@ -770,6 +800,8 @@ class CfnServiceLevelObjective(
|
|
|
770
800
|
def id(self) -> builtins.str:
|
|
771
801
|
'''A short name used to tie this object to the results in the response.
|
|
772
802
|
|
|
803
|
+
This ``Id`` must be unique within a ``MetricDataQueries`` array. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the metric math expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
|
|
804
|
+
|
|
773
805
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricdataquery.html#cfn-applicationsignals-servicelevelobjective-metricdataquery-id
|
|
774
806
|
'''
|
|
775
807
|
result = self._values.get("id")
|
|
@@ -778,7 +810,9 @@ class CfnServiceLevelObjective(
|
|
|
778
810
|
|
|
779
811
|
@builtins.property
|
|
780
812
|
def account_id(self) -> typing.Optional[builtins.str]:
|
|
781
|
-
'''The ID of the account where
|
|
813
|
+
'''The ID of the account where this metric is located.
|
|
814
|
+
|
|
815
|
+
If you are performing this operation in a monitoring account, use this to specify which source account to retrieve this metric from.
|
|
782
816
|
|
|
783
817
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricdataquery.html#cfn-applicationsignals-servicelevelobjective-metricdataquery-accountid
|
|
784
818
|
'''
|
|
@@ -787,7 +821,11 @@ class CfnServiceLevelObjective(
|
|
|
787
821
|
|
|
788
822
|
@builtins.property
|
|
789
823
|
def expression(self) -> typing.Optional[builtins.str]:
|
|
790
|
-
'''
|
|
824
|
+
'''This field can contain a metric math expression to be performed on the other metrics that you are retrieving within this ``MetricDataQueries`` structure.
|
|
825
|
+
|
|
826
|
+
A math expression can use the ``Id`` of the other metrics or queries to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions. For more information about metric math expressions, see `Metric Math Syntax and Functions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax>`_ in the *Amazon CloudWatch User Guide* .
|
|
827
|
+
|
|
828
|
+
Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` but not both.
|
|
791
829
|
|
|
792
830
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricdataquery.html#cfn-applicationsignals-servicelevelobjective-metricdataquery-expression
|
|
793
831
|
'''
|
|
@@ -800,7 +838,7 @@ class CfnServiceLevelObjective(
|
|
|
800
838
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.MetricStatProperty"]]:
|
|
801
839
|
'''A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO.
|
|
802
840
|
|
|
803
|
-
Within one MetricDataQuery object, you must specify either Expression or MetricStat but not both.
|
|
841
|
+
Within one ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` but not both.
|
|
804
842
|
|
|
805
843
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricdataquery.html#cfn-applicationsignals-servicelevelobjective-metricdataquery-metricstat
|
|
806
844
|
'''
|
|
@@ -811,7 +849,9 @@ class CfnServiceLevelObjective(
|
|
|
811
849
|
def return_data(
|
|
812
850
|
self,
|
|
813
851
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
814
|
-
'''
|
|
852
|
+
'''Use this only if you are using a metric math expression for the SLO.
|
|
853
|
+
|
|
854
|
+
Specify ``true`` for ``ReturnData`` for only the one expression result to use as the alarm. For all other metrics and expressions in the same ``CreateServiceLevelObjective`` operation, specify ``ReturnData`` as ``false`` .
|
|
815
855
|
|
|
816
856
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricdataquery.html#cfn-applicationsignals-servicelevelobjective-metricdataquery-returndata
|
|
817
857
|
'''
|
|
@@ -848,9 +888,9 @@ class CfnServiceLevelObjective(
|
|
|
848
888
|
) -> None:
|
|
849
889
|
'''This structure defines the metric used for a service level indicator, including the metric name, namespace, and dimensions.
|
|
850
890
|
|
|
851
|
-
:param dimensions: An array of one or more dimensions to use to define the metric that you want to use.
|
|
891
|
+
:param dimensions: An array of one or more dimensions to use to define the metric that you want to use. For more information, see `Dimensions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension>`_ .
|
|
852
892
|
:param metric_name: The name of the metric to use.
|
|
853
|
-
:param namespace: The namespace of the metric.
|
|
893
|
+
:param namespace: The namespace of the metric. For more information, see `Namespaces <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace>`_ .
|
|
854
894
|
|
|
855
895
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metric.html
|
|
856
896
|
:exampleMetadata: fixture=_generated
|
|
@@ -889,6 +929,8 @@ class CfnServiceLevelObjective(
|
|
|
889
929
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.DimensionProperty"]]]]:
|
|
890
930
|
'''An array of one or more dimensions to use to define the metric that you want to use.
|
|
891
931
|
|
|
932
|
+
For more information, see `Dimensions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension>`_ .
|
|
933
|
+
|
|
892
934
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metric.html#cfn-applicationsignals-servicelevelobjective-metric-dimensions
|
|
893
935
|
'''
|
|
894
936
|
result = self._values.get("dimensions")
|
|
@@ -907,6 +949,8 @@ class CfnServiceLevelObjective(
|
|
|
907
949
|
def namespace(self) -> typing.Optional[builtins.str]:
|
|
908
950
|
'''The namespace of the metric.
|
|
909
951
|
|
|
952
|
+
For more information, see `Namespaces <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace>`_ .
|
|
953
|
+
|
|
910
954
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metric.html#cfn-applicationsignals-servicelevelobjective-metric-namespace
|
|
911
955
|
'''
|
|
912
956
|
result = self._values.get("namespace")
|
|
@@ -942,14 +986,12 @@ class CfnServiceLevelObjective(
|
|
|
942
986
|
stat: builtins.str,
|
|
943
987
|
unit: typing.Optional[builtins.str] = None,
|
|
944
988
|
) -> None:
|
|
945
|
-
'''
|
|
946
|
-
|
|
947
|
-
Within one MetricDataQuery object, you must specify either Expression or MetricStat but not both.
|
|
989
|
+
'''This structure defines the metric to be used as the service level indicator, along with the statistics, period, and unit.
|
|
948
990
|
|
|
949
|
-
:param metric:
|
|
950
|
-
:param period: The granularity, in seconds, to be used for the metric.
|
|
951
|
-
:param stat: The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic.
|
|
952
|
-
:param unit: If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
|
|
991
|
+
:param metric: The metric to use as the service level indicator, including the metric name, namespace, and dimensions.
|
|
992
|
+
:param period: The granularity, in seconds, to be used for the metric. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a ``PutMetricData`` call that includes a ``StorageResolution`` of 1 second.
|
|
993
|
+
:param stat: The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic. For more information about statistics, see `CloudWatch statistics definitions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html>`_ .
|
|
994
|
+
:param unit: If you omit ``Unit`` then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
|
|
953
995
|
|
|
954
996
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricstat.html
|
|
955
997
|
:exampleMetadata: fixture=_generated
|
|
@@ -994,7 +1036,7 @@ class CfnServiceLevelObjective(
|
|
|
994
1036
|
def metric(
|
|
995
1037
|
self,
|
|
996
1038
|
) -> typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.MetricProperty"]:
|
|
997
|
-
'''
|
|
1039
|
+
'''The metric to use as the service level indicator, including the metric name, namespace, and dimensions.
|
|
998
1040
|
|
|
999
1041
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricstat.html#cfn-applicationsignals-servicelevelobjective-metricstat-metric
|
|
1000
1042
|
'''
|
|
@@ -1006,6 +1048,8 @@ class CfnServiceLevelObjective(
|
|
|
1006
1048
|
def period(self) -> jsii.Number:
|
|
1007
1049
|
'''The granularity, in seconds, to be used for the metric.
|
|
1008
1050
|
|
|
1051
|
+
For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a ``PutMetricData`` call that includes a ``StorageResolution`` of 1 second.
|
|
1052
|
+
|
|
1009
1053
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricstat.html#cfn-applicationsignals-servicelevelobjective-metricstat-period
|
|
1010
1054
|
'''
|
|
1011
1055
|
result = self._values.get("period")
|
|
@@ -1016,7 +1060,7 @@ class CfnServiceLevelObjective(
|
|
|
1016
1060
|
def stat(self) -> builtins.str:
|
|
1017
1061
|
'''The statistic to use for comparison to the threshold.
|
|
1018
1062
|
|
|
1019
|
-
It can be any CloudWatch statistic or extended statistic.
|
|
1063
|
+
It can be any CloudWatch statistic or extended statistic. For more information about statistics, see `CloudWatch statistics definitions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html>`_ .
|
|
1020
1064
|
|
|
1021
1065
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-metricstat.html#cfn-applicationsignals-servicelevelobjective-metricstat-stat
|
|
1022
1066
|
'''
|
|
@@ -1026,7 +1070,7 @@ class CfnServiceLevelObjective(
|
|
|
1026
1070
|
|
|
1027
1071
|
@builtins.property
|
|
1028
1072
|
def unit(self) -> typing.Optional[builtins.str]:
|
|
1029
|
-
'''If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch.
|
|
1073
|
+
'''If you omit ``Unit`` then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch.
|
|
1030
1074
|
|
|
1031
1075
|
If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
|
|
1032
1076
|
|
|
@@ -1058,10 +1102,10 @@ class CfnServiceLevelObjective(
|
|
|
1058
1102
|
duration: jsii.Number,
|
|
1059
1103
|
duration_unit: builtins.str,
|
|
1060
1104
|
) -> None:
|
|
1061
|
-
'''If the interval is a
|
|
1105
|
+
'''If the interval for this SLO is a rolling interval, this structure contains the interval specifications.
|
|
1062
1106
|
|
|
1063
|
-
:param duration: Specifies the duration of each
|
|
1064
|
-
:param duration_unit: Specifies the
|
|
1107
|
+
:param duration: Specifies the duration of each rolling interval. For example, if ``Duration`` is ``7`` and ``DurationUnit`` is ``DAY`` , each rolling interval is seven days.
|
|
1108
|
+
:param duration_unit: Specifies the rolling interval unit.
|
|
1065
1109
|
|
|
1066
1110
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-rollinginterval.html
|
|
1067
1111
|
:exampleMetadata: fixture=_generated
|
|
@@ -1088,9 +1132,9 @@ class CfnServiceLevelObjective(
|
|
|
1088
1132
|
|
|
1089
1133
|
@builtins.property
|
|
1090
1134
|
def duration(self) -> jsii.Number:
|
|
1091
|
-
'''Specifies the duration of each
|
|
1135
|
+
'''Specifies the duration of each rolling interval.
|
|
1092
1136
|
|
|
1093
|
-
For example, if ``Duration`` is
|
|
1137
|
+
For example, if ``Duration`` is ``7`` and ``DurationUnit`` is ``DAY`` , each rolling interval is seven days.
|
|
1094
1138
|
|
|
1095
1139
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-rollinginterval.html#cfn-applicationsignals-servicelevelobjective-rollinginterval-duration
|
|
1096
1140
|
'''
|
|
@@ -1100,7 +1144,7 @@ class CfnServiceLevelObjective(
|
|
|
1100
1144
|
|
|
1101
1145
|
@builtins.property
|
|
1102
1146
|
def duration_unit(self) -> builtins.str:
|
|
1103
|
-
'''Specifies the
|
|
1147
|
+
'''Specifies the rolling interval unit.
|
|
1104
1148
|
|
|
1105
1149
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-rollinginterval.html#cfn-applicationsignals-servicelevelobjective-rollinginterval-durationunit
|
|
1106
1150
|
'''
|
|
@@ -1142,14 +1186,14 @@ class CfnServiceLevelObjective(
|
|
|
1142
1186
|
period_seconds: typing.Optional[jsii.Number] = None,
|
|
1143
1187
|
statistic: typing.Optional[builtins.str] = None,
|
|
1144
1188
|
) -> None:
|
|
1145
|
-
'''
|
|
1189
|
+
'''Use this structure to specify the metric to be used for the SLO.
|
|
1146
1190
|
|
|
1147
|
-
:param key_attributes: This is a string-to-string map
|
|
1148
|
-
:param metric_data_queries: If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, this structure
|
|
1149
|
-
:param metric_type: If the SLO
|
|
1150
|
-
:param operation_name: If the SLO
|
|
1191
|
+
:param key_attributes: If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the ``Type`` , ``Name`` , and ``Environment`` attributes. This is a string-to-string map. It can include the following fields. - ``Type`` designates the type of object this is. - ``ResourceType`` specifies the type of the resource. This field is used only when the value of the ``Type`` field is ``Resource`` or ``AWS::Resource`` . - ``Name`` specifies the name of the object. This is used only if the value of the ``Type`` field is ``Service`` , ``RemoteService`` , or ``AWS::Service`` . - ``Identifier`` identifies the resource objects of this resource. This is used only if the value of the ``Type`` field is ``Resource`` or ``AWS::Resource`` . - ``Environment`` specifies the location where this object is hosted, or what it belongs to.
|
|
1192
|
+
:param metric_data_queries: If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
|
|
1193
|
+
:param metric_type: If the SLO is to monitor either the ``LATENCY`` or ``AVAILABILITY`` metric that Application Signals collects, use this field to specify which of those metrics is used.
|
|
1194
|
+
:param operation_name: If the SLO is to monitor a specific operation of the service, use this field to specify the name of that operation.
|
|
1151
1195
|
:param period_seconds: The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
|
|
1152
|
-
:param statistic: The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic
|
|
1196
|
+
:param statistic: The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic. For more information about statistics, see `CloudWatch statistics definitions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html>`_ .
|
|
1153
1197
|
|
|
1154
1198
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-slimetric.html
|
|
1155
1199
|
:exampleMetadata: fixture=_generated
|
|
@@ -1219,7 +1263,17 @@ class CfnServiceLevelObjective(
|
|
|
1219
1263
|
def key_attributes(
|
|
1220
1264
|
self,
|
|
1221
1265
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
1222
|
-
'''
|
|
1266
|
+
'''If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to.
|
|
1267
|
+
|
|
1268
|
+
To do so, you must specify at least the ``Type`` , ``Name`` , and ``Environment`` attributes.
|
|
1269
|
+
|
|
1270
|
+
This is a string-to-string map. It can include the following fields.
|
|
1271
|
+
|
|
1272
|
+
- ``Type`` designates the type of object this is.
|
|
1273
|
+
- ``ResourceType`` specifies the type of the resource. This field is used only when the value of the ``Type`` field is ``Resource`` or ``AWS::Resource`` .
|
|
1274
|
+
- ``Name`` specifies the name of the object. This is used only if the value of the ``Type`` field is ``Service`` , ``RemoteService`` , or ``AWS::Service`` .
|
|
1275
|
+
- ``Identifier`` identifies the resource objects of this resource. This is used only if the value of the ``Type`` field is ``Resource`` or ``AWS::Resource`` .
|
|
1276
|
+
- ``Environment`` specifies the location where this object is hosted, or what it belongs to.
|
|
1223
1277
|
|
|
1224
1278
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-slimetric.html#cfn-applicationsignals-servicelevelobjective-slimetric-keyattributes
|
|
1225
1279
|
'''
|
|
@@ -1230,7 +1284,7 @@ class CfnServiceLevelObjective(
|
|
|
1230
1284
|
def metric_data_queries(
|
|
1231
1285
|
self,
|
|
1232
1286
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.MetricDataQueryProperty"]]]]:
|
|
1233
|
-
'''If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, this structure
|
|
1287
|
+
'''If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
|
|
1234
1288
|
|
|
1235
1289
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-slimetric.html#cfn-applicationsignals-servicelevelobjective-slimetric-metricdataqueries
|
|
1236
1290
|
'''
|
|
@@ -1239,7 +1293,7 @@ class CfnServiceLevelObjective(
|
|
|
1239
1293
|
|
|
1240
1294
|
@builtins.property
|
|
1241
1295
|
def metric_type(self) -> typing.Optional[builtins.str]:
|
|
1242
|
-
'''If the SLO
|
|
1296
|
+
'''If the SLO is to monitor either the ``LATENCY`` or ``AVAILABILITY`` metric that Application Signals collects, use this field to specify which of those metrics is used.
|
|
1243
1297
|
|
|
1244
1298
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-slimetric.html#cfn-applicationsignals-servicelevelobjective-slimetric-metrictype
|
|
1245
1299
|
'''
|
|
@@ -1248,7 +1302,7 @@ class CfnServiceLevelObjective(
|
|
|
1248
1302
|
|
|
1249
1303
|
@builtins.property
|
|
1250
1304
|
def operation_name(self) -> typing.Optional[builtins.str]:
|
|
1251
|
-
'''If the SLO
|
|
1305
|
+
'''If the SLO is to monitor a specific operation of the service, use this field to specify the name of that operation.
|
|
1252
1306
|
|
|
1253
1307
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-slimetric.html#cfn-applicationsignals-servicelevelobjective-slimetric-operationname
|
|
1254
1308
|
'''
|
|
@@ -1270,7 +1324,7 @@ class CfnServiceLevelObjective(
|
|
|
1270
1324
|
def statistic(self) -> typing.Optional[builtins.str]:
|
|
1271
1325
|
'''The statistic to use for comparison to the threshold.
|
|
1272
1326
|
|
|
1273
|
-
It can be any CloudWatch statistic or extended statistic
|
|
1327
|
+
It can be any CloudWatch statistic or extended statistic. For more information about statistics, see `CloudWatch statistics definitions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html>`_ .
|
|
1274
1328
|
|
|
1275
1329
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-slimetric.html#cfn-applicationsignals-servicelevelobjective-slimetric-statistic
|
|
1276
1330
|
'''
|
|
@@ -1305,11 +1359,11 @@ class CfnServiceLevelObjective(
|
|
|
1305
1359
|
metric_threshold: jsii.Number,
|
|
1306
1360
|
sli_metric: typing.Union[_IResolvable_da3f097b, typing.Union["CfnServiceLevelObjective.SliMetricProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1307
1361
|
) -> None:
|
|
1308
|
-
'''This structure
|
|
1362
|
+
'''This structure specifies the information about the service and the performance metric that an SLO is to monitor.
|
|
1309
1363
|
|
|
1310
|
-
:param comparison_operator: The arithmetic operation
|
|
1364
|
+
:param comparison_operator: The arithmetic operation to use when comparing the specified metric to the threshold.
|
|
1311
1365
|
:param metric_threshold: The value that the SLI metric is compared to.
|
|
1312
|
-
:param sli_metric:
|
|
1366
|
+
:param sli_metric: Use this structure to specify the metric to be used for the SLO.
|
|
1313
1367
|
|
|
1314
1368
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-sli.html
|
|
1315
1369
|
:exampleMetadata: fixture=_generated
|
|
@@ -1370,7 +1424,7 @@ class CfnServiceLevelObjective(
|
|
|
1370
1424
|
|
|
1371
1425
|
@builtins.property
|
|
1372
1426
|
def comparison_operator(self) -> builtins.str:
|
|
1373
|
-
'''The arithmetic operation
|
|
1427
|
+
'''The arithmetic operation to use when comparing the specified metric to the threshold.
|
|
1374
1428
|
|
|
1375
1429
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-sli.html#cfn-applicationsignals-servicelevelobjective-sli-comparisonoperator
|
|
1376
1430
|
'''
|
|
@@ -1392,7 +1446,7 @@ class CfnServiceLevelObjective(
|
|
|
1392
1446
|
def sli_metric(
|
|
1393
1447
|
self,
|
|
1394
1448
|
) -> typing.Union[_IResolvable_da3f097b, "CfnServiceLevelObjective.SliMetricProperty"]:
|
|
1395
|
-
'''
|
|
1449
|
+
'''Use this structure to specify the metric to be used for the SLO.
|
|
1396
1450
|
|
|
1397
1451
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-sli.html#cfn-applicationsignals-servicelevelobjective-sli-slimetric
|
|
1398
1452
|
'''
|
|
@@ -1435,11 +1489,11 @@ class CfnServiceLevelObjectiveProps:
|
|
|
1435
1489
|
) -> None:
|
|
1436
1490
|
'''Properties for defining a ``CfnServiceLevelObjective``.
|
|
1437
1491
|
|
|
1438
|
-
:param name:
|
|
1439
|
-
:param sli:
|
|
1440
|
-
:param description: An optional description for this SLO. Default
|
|
1441
|
-
:param goal:
|
|
1442
|
-
:param tags:
|
|
1492
|
+
:param name: A name for this SLO.
|
|
1493
|
+
:param sli: A structure containing information about the performance metric that this SLO monitors.
|
|
1494
|
+
:param description: An optional description for this SLO. Default: - "No description"
|
|
1495
|
+
:param goal: This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
|
|
1496
|
+
:param tags: A list of key-value pairs to associate with the SLO. You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
|
|
1443
1497
|
|
|
1444
1498
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-servicelevelobjective.html
|
|
1445
1499
|
:exampleMetadata: fixture=_generated
|
|
@@ -1532,7 +1586,7 @@ class CfnServiceLevelObjectiveProps:
|
|
|
1532
1586
|
|
|
1533
1587
|
@builtins.property
|
|
1534
1588
|
def name(self) -> builtins.str:
|
|
1535
|
-
'''
|
|
1589
|
+
'''A name for this SLO.
|
|
1536
1590
|
|
|
1537
1591
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-servicelevelobjective.html#cfn-applicationsignals-servicelevelobjective-name
|
|
1538
1592
|
'''
|
|
@@ -1544,7 +1598,7 @@ class CfnServiceLevelObjectiveProps:
|
|
|
1544
1598
|
def sli(
|
|
1545
1599
|
self,
|
|
1546
1600
|
) -> typing.Union[_IResolvable_da3f097b, CfnServiceLevelObjective.SliProperty]:
|
|
1547
|
-
'''
|
|
1601
|
+
'''A structure containing information about the performance metric that this SLO monitors.
|
|
1548
1602
|
|
|
1549
1603
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-servicelevelobjective.html#cfn-applicationsignals-servicelevelobjective-sli
|
|
1550
1604
|
'''
|
|
@@ -1556,8 +1610,6 @@ class CfnServiceLevelObjectiveProps:
|
|
|
1556
1610
|
def description(self) -> typing.Optional[builtins.str]:
|
|
1557
1611
|
'''An optional description for this SLO.
|
|
1558
1612
|
|
|
1559
|
-
Default is 'No description'
|
|
1560
|
-
|
|
1561
1613
|
:default: - "No description"
|
|
1562
1614
|
|
|
1563
1615
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-servicelevelobjective.html#cfn-applicationsignals-servicelevelobjective-description
|
|
@@ -1569,7 +1621,7 @@ class CfnServiceLevelObjectiveProps:
|
|
|
1569
1621
|
def goal(
|
|
1570
1622
|
self,
|
|
1571
1623
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServiceLevelObjective.GoalProperty]]:
|
|
1572
|
-
'''
|
|
1624
|
+
'''This structure contains the attributes that determine the goal of an SLO.
|
|
1573
1625
|
|
|
1574
1626
|
This includes the time period for evaluation and the attainment threshold.
|
|
1575
1627
|
|
|
@@ -1580,7 +1632,11 @@ class CfnServiceLevelObjectiveProps:
|
|
|
1580
1632
|
|
|
1581
1633
|
@builtins.property
|
|
1582
1634
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1583
|
-
'''
|
|
1635
|
+
'''A list of key-value pairs to associate with the SLO.
|
|
1636
|
+
|
|
1637
|
+
You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission.
|
|
1638
|
+
|
|
1639
|
+
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
|
|
1584
1640
|
|
|
1585
1641
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-servicelevelobjective.html#cfn-applicationsignals-servicelevelobjective-tags
|
|
1586
1642
|
'''
|