interface VpcConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Grafana.CfnWorkspace.VpcConfigurationProperty |
Java | software.amazon.awscdk.services.grafana.CfnWorkspace.VpcConfigurationProperty |
Python | aws_cdk.aws_grafana.CfnWorkspace.VpcConfigurationProperty |
TypeScript | @aws-cdk/aws-grafana » CfnWorkspace » VpcConfigurationProperty |
The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.
Provided
securityGroupIds
andsubnetIds
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 * as grafana from '@aws-cdk/aws-grafana';
const vpcConfigurationProperty: grafana.CfnWorkspace.VpcConfigurationProperty = {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
};
Properties
Name | Type | Description |
---|---|---|
security | string[] | The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect. |
subnet | string[] | 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.