CfnVPNConcentratorProps Struct
Properties for defining a CfnVPNConcentrator.
| 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_ec2 as ec2 } from 'aws-cdk-lib';
const cfnVPNConcentratorProps: ec2.CfnVPNConcentratorProps = {
type: 'type',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
transitGatewayId: 'transitGatewayId',
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
cfn_vpn_concentrator_props = ec2.CfnVPNConcentratorProps(
type="type",
# the properties below are optional
tags=[CfnTag(
key="key",
value="value"
)],
transit_gateway_id="transitGatewayId"
)
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.ec2.*;
CfnVPNConcentratorProps cfnVPNConcentratorProps = CfnVPNConcentratorProps.builder()
.type("type")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.transitGatewayId("transitGatewayId")
.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.EC2;
var cfnVPNConcentratorProps = new CfnVPNConcentratorProps {
Type = "type",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayId = "transitGatewayId"
};
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"
cfnVPNConcentratorProps := &CfnVPNConcentratorProps{
Type: jsii.String("type"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
TransitGatewayId: jsii.String("transitGatewayId"),
}
Properties
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #Any tags assigned to the VPN concentrator.
transitGatewayIdoptionalstringtransit_gateway_idoptionalstrtransitGatewayIdoptionalStringTransitGatewayIdoptionalstringTransitGatewayIdoptional*string #The ID of the transit gateway associated with the VPN concentrator.
The type of VPN concentrator.