EksConfigurationProperty Struct
The EksConfiguration structure describes the connection to the Amazon EKS cluster from which a scraper collects metrics.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 eksConfigurationProperty: aps.CfnScraper.EksConfigurationProperty = {
clusterArn: 'clusterArn',
subnetIds: ['subnetIds'],
// the properties below are optional
securityGroupIds: ['securityGroupIds'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_aps as aps
eks_configuration_property = aps.CfnScraper.EksConfigurationProperty(
cluster_arn="clusterArn",
subnet_ids=["subnetIds"],
# the properties below are optional
security_group_ids=["securityGroupIds"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.aps.*;
EksConfigurationProperty eksConfigurationProperty = EksConfigurationProperty.builder()
.clusterArn("clusterArn")
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.securityGroupIds(List.of("securityGroupIds"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APS;
var eksConfigurationProperty = new EksConfigurationProperty {
ClusterArn = "clusterArn",
SubnetIds = new [] { "subnetIds" },
// the properties below are optional
SecurityGroupIds = new [] { "securityGroupIds" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
eksConfigurationProperty := &EksConfigurationProperty{
ClusterArn: jsii.String("clusterArn"),
SubnetIds: []*string{
jsii.String("subnetIds"),
},
// the properties below are optional
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
}
Properties
ARN of the Amazon EKS cluster.
securityGroupIdsoptionalstring[]security_group_idsoptionaltyping.List[str]securityGroupIdsoptionalList<String>SecurityGroupIdsoptionalstring[]SecurityGroupIdsoptional*[]*string #A list of the security group IDs for the Amazon EKS cluster VPC configuration.
subnetIdsstring[]subnet_idstyping.List[str]subnetIdsList<String>SubnetIdsstring[]SubnetIds*[]*string required #A list of subnet IDs for the Amazon EKS cluster VPC configuration.