class CfnMonitorPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.InternetMonitor.Mixins.CfnMonitorPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsinternetmonitor/mixins#CfnMonitorPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.internetmonitor.mixins.CfnMonitorPropsMixin |
Python | aws_cdk.mixins_preview.aws_internetmonitor.mixins.CfnMonitorPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_internetmonitor » mixins » CfnMonitorPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::InternetMonitor::Monitor resource is an Internet Monitor resource type that contains information about how you create a monitor in Amazon CloudWatch Internet Monitor.
A monitor in Internet Monitor provides visibility into performance and availability between your applications hosted on AWS and your end users, using a traffic profile that it creates based on the application resources that you add: Virtual Private Clouds (VPCs), Amazon CloudFront distributions, or WorkSpaces directories.
Internet Monitor also alerts you to internet issues that impact your application in the city-networks (geographies and networks) where your end users use it. With Internet Monitor, you can quickly pinpoint the locations and providers that are affected, so that you can address the issue.
For more information, see Using Amazon CloudWatch Internet Monitor in the Amazon CloudWatch User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as internetmonitor_mixins } from '@aws-cdk/mixins-preview/aws-internetmonitor';
const cfnMonitorPropsMixin = new internetmonitor_mixins.CfnMonitorPropsMixin({
healthEventsConfig: {
availabilityLocalHealthEventsConfig: {
healthScoreThreshold: 123,
minTrafficImpact: 123,
status: 'status',
},
availabilityScoreThreshold: 123,
performanceLocalHealthEventsConfig: {
healthScoreThreshold: 123,
minTrafficImpact: 123,
status: 'status',
},
performanceScoreThreshold: 123,
},
includeLinkedAccounts: false,
internetMeasurementsLogDelivery: {
s3Config: {
bucketName: 'bucketName',
bucketPrefix: 'bucketPrefix',
logDeliveryStatus: 'logDeliveryStatus',
},
},
linkedAccountId: 'linkedAccountId',
maxCityNetworksToMonitor: 123,
monitorName: 'monitorName',
resources: ['resources'],
resourcesToAdd: ['resourcesToAdd'],
resourcesToRemove: ['resourcesToRemove'],
status: 'status',
tags: [{
key: 'key',
value: 'value',
}],
trafficPercentageToMonitor: 123,
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnMonitorPropsMixin(props: CfnMonitorMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Monitor Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::InternetMonitor::Monitor.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript