interface SourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APS.CfnScraper.SourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnScraper_SourceProperty |
Java | software.amazon.awscdk.services.aps.CfnScraper.SourceProperty |
Python | aws_cdk.aws_aps.CfnScraper.SourceProperty |
TypeScript | aws-cdk-lib » aws_aps » CfnScraper » 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 { aws_aps as aps } from 'aws-cdk-lib';
const sourceProperty: aps.CfnScraper.SourceProperty = {
eksConfiguration: {
clusterArn: 'clusterArn',
subnetIds: ['subnetIds'],
// the properties below are optional
securityGroupIds: ['securityGroupIds'],
},
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