Class CfnClientVpnEndpointPropsMixin
Specifies a Client VPN endpoint.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnClientVpnEndpointPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnClientVpnEndpointPropsMixin Inherits Mixin Implements IMixin
Remarks
A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
CloudformationResource: AWS::EC2::ClientVpnEndpoint
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnClientVpnEndpointPropsMixin = new CfnClientVpnEndpointPropsMixin(new CfnClientVpnEndpointMixinProps {
AuthenticationOptions = new [] { new ClientAuthenticationRequestProperty {
ActiveDirectory = new DirectoryServiceAuthenticationRequestProperty {
DirectoryId = "directoryId"
},
FederatedAuthentication = new FederatedAuthenticationRequestProperty {
SamlProviderArn = "samlProviderArn",
SelfServiceSamlProviderArn = "selfServiceSamlProviderArn"
},
MutualAuthentication = new CertificateAuthenticationRequestProperty {
ClientRootCertificateChainArn = "clientRootCertificateChainArn"
},
Type = "type"
} },
ClientCidrBlock = "clientCidrBlock",
ClientConnectOptions = new ClientConnectOptionsProperty {
Enabled = false,
LambdaFunctionArn = "lambdaFunctionArn"
},
ClientLoginBannerOptions = new ClientLoginBannerOptionsProperty {
BannerText = "bannerText",
Enabled = false
},
ClientRouteEnforcementOptions = new ClientRouteEnforcementOptionsProperty {
Enforced = false
},
ConnectionLogOptions = new ConnectionLogOptionsProperty {
CloudwatchLogGroup = "cloudwatchLogGroup",
CloudwatchLogStream = "cloudwatchLogStream",
Enabled = false
},
Description = "description",
DisconnectOnSessionTimeout = false,
DnsServers = new [] { "dnsServers" },
SecurityGroupIds = new [] { "securityGroupIds" },
SelfServicePortal = "selfServicePortal",
ServerCertificateArn = "serverCertificateArn",
SessionTimeoutHours = 123,
SplitTunnel = false,
TagSpecifications = new [] { new TagSpecificationProperty {
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
TransportProtocol = "transportProtocol",
VpcId = "vpcId",
VpnPort = 123
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnClientVpnEndpointPropsMixin(ICfnClientVpnEndpointMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Specifies a Client VPN endpoint. |
| Props | Specifies a Client VPN endpoint. |
| Strategy | Specifies a Client VPN endpoint. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnClientVpnEndpointPropsMixin(ICfnClientVpnEndpointMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EC2::ClientVpnEndpoint.
public CfnClientVpnEndpointPropsMixin(ICfnClientVpnEndpointMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnClientVpnEndpointMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
CloudformationResource: AWS::EC2::ClientVpnEndpoint
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Specifies a Client VPN endpoint.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
CloudformationResource: AWS::EC2::ClientVpnEndpoint
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnClientVpnEndpointPropsMixin = new CfnClientVpnEndpointPropsMixin(new CfnClientVpnEndpointMixinProps {
AuthenticationOptions = new [] { new ClientAuthenticationRequestProperty {
ActiveDirectory = new DirectoryServiceAuthenticationRequestProperty {
DirectoryId = "directoryId"
},
FederatedAuthentication = new FederatedAuthenticationRequestProperty {
SamlProviderArn = "samlProviderArn",
SelfServiceSamlProviderArn = "selfServiceSamlProviderArn"
},
MutualAuthentication = new CertificateAuthenticationRequestProperty {
ClientRootCertificateChainArn = "clientRootCertificateChainArn"
},
Type = "type"
} },
ClientCidrBlock = "clientCidrBlock",
ClientConnectOptions = new ClientConnectOptionsProperty {
Enabled = false,
LambdaFunctionArn = "lambdaFunctionArn"
},
ClientLoginBannerOptions = new ClientLoginBannerOptionsProperty {
BannerText = "bannerText",
Enabled = false
},
ClientRouteEnforcementOptions = new ClientRouteEnforcementOptionsProperty {
Enforced = false
},
ConnectionLogOptions = new ConnectionLogOptionsProperty {
CloudwatchLogGroup = "cloudwatchLogGroup",
CloudwatchLogStream = "cloudwatchLogStream",
Enabled = false
},
Description = "description",
DisconnectOnSessionTimeout = false,
DnsServers = new [] { "dnsServers" },
SecurityGroupIds = new [] { "securityGroupIds" },
SelfServicePortal = "selfServicePortal",
ServerCertificateArn = "serverCertificateArn",
SessionTimeoutHours = 123,
SplitTunnel = false,
TagSpecifications = new [] { new TagSpecificationProperty {
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
TransportProtocol = "transportProtocol",
VpcId = "vpcId",
VpnPort = 123
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Specifies a Client VPN endpoint.
protected virtual ICfnClientVpnEndpointMixinProps Props { get; }
Property Value
ICfnClientVpnEndpointMixinProps
Remarks
A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
CloudformationResource: AWS::EC2::ClientVpnEndpoint
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnClientVpnEndpointPropsMixin = new CfnClientVpnEndpointPropsMixin(new CfnClientVpnEndpointMixinProps {
AuthenticationOptions = new [] { new ClientAuthenticationRequestProperty {
ActiveDirectory = new DirectoryServiceAuthenticationRequestProperty {
DirectoryId = "directoryId"
},
FederatedAuthentication = new FederatedAuthenticationRequestProperty {
SamlProviderArn = "samlProviderArn",
SelfServiceSamlProviderArn = "selfServiceSamlProviderArn"
},
MutualAuthentication = new CertificateAuthenticationRequestProperty {
ClientRootCertificateChainArn = "clientRootCertificateChainArn"
},
Type = "type"
} },
ClientCidrBlock = "clientCidrBlock",
ClientConnectOptions = new ClientConnectOptionsProperty {
Enabled = false,
LambdaFunctionArn = "lambdaFunctionArn"
},
ClientLoginBannerOptions = new ClientLoginBannerOptionsProperty {
BannerText = "bannerText",
Enabled = false
},
ClientRouteEnforcementOptions = new ClientRouteEnforcementOptionsProperty {
Enforced = false
},
ConnectionLogOptions = new ConnectionLogOptionsProperty {
CloudwatchLogGroup = "cloudwatchLogGroup",
CloudwatchLogStream = "cloudwatchLogStream",
Enabled = false
},
Description = "description",
DisconnectOnSessionTimeout = false,
DnsServers = new [] { "dnsServers" },
SecurityGroupIds = new [] { "securityGroupIds" },
SelfServicePortal = "selfServicePortal",
ServerCertificateArn = "serverCertificateArn",
SessionTimeoutHours = 123,
SplitTunnel = false,
TagSpecifications = new [] { new TagSpecificationProperty {
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
TransportProtocol = "transportProtocol",
VpcId = "vpcId",
VpnPort = 123
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Specifies a Client VPN endpoint.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
CloudformationResource: AWS::EC2::ClientVpnEndpoint
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnClientVpnEndpointPropsMixin = new CfnClientVpnEndpointPropsMixin(new CfnClientVpnEndpointMixinProps {
AuthenticationOptions = new [] { new ClientAuthenticationRequestProperty {
ActiveDirectory = new DirectoryServiceAuthenticationRequestProperty {
DirectoryId = "directoryId"
},
FederatedAuthentication = new FederatedAuthenticationRequestProperty {
SamlProviderArn = "samlProviderArn",
SelfServiceSamlProviderArn = "selfServiceSamlProviderArn"
},
MutualAuthentication = new CertificateAuthenticationRequestProperty {
ClientRootCertificateChainArn = "clientRootCertificateChainArn"
},
Type = "type"
} },
ClientCidrBlock = "clientCidrBlock",
ClientConnectOptions = new ClientConnectOptionsProperty {
Enabled = false,
LambdaFunctionArn = "lambdaFunctionArn"
},
ClientLoginBannerOptions = new ClientLoginBannerOptionsProperty {
BannerText = "bannerText",
Enabled = false
},
ClientRouteEnforcementOptions = new ClientRouteEnforcementOptionsProperty {
Enforced = false
},
ConnectionLogOptions = new ConnectionLogOptionsProperty {
CloudwatchLogGroup = "cloudwatchLogGroup",
CloudwatchLogStream = "cloudwatchLogStream",
Enabled = false
},
Description = "description",
DisconnectOnSessionTimeout = false,
DnsServers = new [] { "dnsServers" },
SecurityGroupIds = new [] { "securityGroupIds" },
SelfServicePortal = "selfServicePortal",
ServerCertificateArn = "serverCertificateArn",
SessionTimeoutHours = 123,
SplitTunnel = false,
TagSpecifications = new [] { new TagSpecificationProperty {
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
TransportProtocol = "transportProtocol",
VpcId = "vpcId",
VpnPort = 123
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
CloudformationResource: AWS::EC2::ClientVpnEndpoint
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
CloudformationResource: AWS::EC2::ClientVpnEndpoint
Mixin: true
ExampleMetadata: fixture=_generated