Skip to content
v2.278.0

EndpointDetailsProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const endpointDetailsProperty: transfer.CfnWebApp.EndpointDetailsProperty = {
  vpc: {
    ipAddressType: 'ipAddressType',
    securityGroupIds: ['securityGroupIds'],
    subnetIds: ['subnetIds'],
    vpcId: 'vpcId',
  },
};
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_transfer as transfer

endpoint_details_property = transfer.CfnWebApp.EndpointDetailsProperty(
    vpc=transfer.CfnWebApp.VpcProperty(
        ip_address_type="ipAddressType",
        security_group_ids=["securityGroupIds"],
        subnet_ids=["subnetIds"],
        vpc_id="vpcId"
    )
)
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.transfer.*;

EndpointDetailsProperty endpointDetailsProperty = EndpointDetailsProperty.builder()
        .vpc(VpcProperty.builder()
                .ipAddressType("ipAddressType")
                .securityGroupIds(List.of("securityGroupIds"))
                .subnetIds(List.of("subnetIds"))
                .vpcId("vpcId")
                .build())
        .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.Transfer;

var endpointDetailsProperty = new EndpointDetailsProperty {
    Vpc = new VpcProperty {
        IpAddressType = "ipAddressType",
        SecurityGroupIds = new [] { "securityGroupIds" },
        SubnetIds = new [] { "subnetIds" },
        VpcId = "vpcId"
    }
};
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"

endpointDetailsProperty := &EndpointDetailsProperty{
	Vpc: &VpcProperty{
		IpAddressType: jsii.String("ipAddressType"),
		SecurityGroupIds: []*string{
			jsii.String("securityGroupIds"),
		},
		SubnetIds: []*string{
			jsii.String("subnetIds"),
		},
		VpcId: jsii.String("vpcId"),
	},
}

Properties ​

vpcoptionalIResolvable | CfnWebApp.VpcPropertyvpcoptionaltyping.Union[IResolvable, VpcProperty]vpcoptionalIResolvableVpcoptionalIResolvableVpcoptionalinterface{} #
You can provide a structure that contains the details for the VPC endpoint to use with your web app.