VpcConfigurationProperty Struct
The Virtual Private Cloud (VPC) configuration for a bucket access point.
| 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_s3express as s3express } from 'aws-cdk-lib';
const vpcConfigurationProperty: s3express.CfnAccessPoint.VpcConfigurationProperty = {
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_s3express as s3express
vpc_configuration_property = s3express.CfnAccessPoint.VpcConfigurationProperty(
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.s3express.*;
VpcConfigurationProperty vpcConfigurationProperty = VpcConfigurationProperty.builder()
.vpcId("vpcId")
.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.S3Express;
var vpcConfigurationProperty = new VpcConfigurationProperty {
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"
vpcConfigurationProperty := &VpcConfigurationProperty{
VpcId: jsii.String("vpcId"),
}
Properties
If this field is specified, this access point will only allow connections from the specified VPC ID.