ClientConnectOptionsProperty Struct
Indicates whether client connect options are enabled.
The default is false (not enabled).
| 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 clientConnectOptionsProperty: ec2.CfnClientVpnEndpoint.ClientConnectOptionsProperty = {
enabled: false,
// the properties below are optional
lambdaFunctionArn: 'lambdaFunctionArn',
};
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_ec2 as ec2
client_connect_options_property = ec2.CfnClientVpnEndpoint.ClientConnectOptionsProperty(
enabled=False,
# the properties below are optional
lambda_function_arn="lambdaFunctionArn"
)
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.*;
ClientConnectOptionsProperty clientConnectOptionsProperty = ClientConnectOptionsProperty.builder()
.enabled(false)
// the properties below are optional
.lambdaFunctionArn("lambdaFunctionArn")
.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 clientConnectOptionsProperty = new ClientConnectOptionsProperty {
Enabled = false,
// the properties below are optional
LambdaFunctionArn = "lambdaFunctionArn"
};
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"
clientConnectOptionsProperty := &ClientConnectOptionsProperty{
Enabled: jsii.Boolean(false),
// the properties below are optional
LambdaFunctionArn: jsii.String("lambdaFunctionArn"),
}
Properties
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{} required #Indicates whether client connect options are enabled.
The default is false (not enabled).
lambdaFunctionArnoptionalstringlambda_function_arnoptionalstrlambdaFunctionArnoptionalStringLambdaFunctionArnoptionalstringLambdaFunctionArnoptional*string #The Amazon Resource Name (ARN) of the AWS Lambda function used for connection authorization.