aws-cdk-lib.aws_grafana.CfnWorkspace.VpcConfigurationProperty

interface VpcConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Grafana.CfnWorkspace.VpcConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgrafana#CfnWorkspace_VpcConfigurationProperty
Javasoftware.amazon.awscdk.services.grafana.CfnWorkspace.VpcConfigurationProperty
Pythonaws_cdk.aws_grafana.CfnWorkspace.VpcConfigurationProperty
TypeScript aws-cdk-lib » aws_grafana » CfnWorkspace » VpcConfigurationProperty

The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.

Provided securityGroupIds and subnetIds must be part of the same VPC.

Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2).

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_grafana as grafana } from 'aws-cdk-lib';
const vpcConfigurationProperty: grafana.CfnWorkspace.VpcConfigurationProperty = {
  securityGroupIds: ['securityGroupIds'],
  subnetIds: ['subnetIds'],
};

Properties

NameTypeDescription
securityGroupIdsstring[]The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
subnetIdsstring[]The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.

securityGroupIds

Type: string[]

The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.

Duplicates not allowed.

Array Members : Minimum number of 1 items. Maximum number of 5 items.

Length : Minimum length of 0. Maximum length of 255.


subnetIds

Type: string[]

The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.

Duplicates not allowed.

Array Members : Minimum number of 2 items. Maximum number of 6 items.

Length : Minimum length of 0. Maximum length of 255.