interface SourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.APS.Mixins.CfnScraperPropsMixin.SourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaps/mixins#CfnScraperPropsMixin_SourceProperty |
Java | software.amazon.awscdk.mixins.preview.services.aps.mixins.CfnScraperPropsMixin.SourceProperty |
Python | aws_cdk.mixins_preview.aws_aps.mixins.CfnScraperPropsMixin.SourceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_aps » mixins » CfnScraperPropsMixin » SourceProperty |
The source of collected metrics for a scraper.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-source.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as aps_mixins } from '@aws-cdk/mixins-preview/aws-aps';
const sourceProperty: aps_mixins.CfnScraperPropsMixin.SourceProperty = {
eksConfiguration: {
clusterArn: 'clusterArn',
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
vpcConfiguration: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| eks | IResolvable | Eks | The Amazon EKS cluster from which a scraper collects metrics. |
| vpc | IResolvable | Vpc | Configuration for VPC metrics source. |
eksConfiguration?
Type:
IResolvable | Eks
(optional)
The Amazon EKS cluster from which a scraper collects metrics.
vpcConfiguration?
Type:
IResolvable | Vpc
(optional)
Configuration for VPC metrics source.

.NET
Go
Java
Python
TypeScript