CfnAccessPointProps Struct
Properties for defining a CfnAccessPoint.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3outposts as s3outposts } from 'aws-cdk-lib';
declare const policy: any;
const cfnAccessPointProps: s3outposts.CfnAccessPointProps = {
bucket: 'bucket',
name: 'name',
vpcConfiguration: {
vpcId: 'vpcId',
},
// the properties below are optional
policy: policy,
};
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_s3outposts as s3outposts
# policy: Any
cfn_access_point_props = s3outposts.CfnAccessPointProps(
bucket="bucket",
name="name",
vpc_configuration=s3outposts.CfnAccessPoint.VpcConfigurationProperty(
vpc_id="vpcId"
),
# the properties below are optional
policy=policy
)
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.s3outposts.*;
Object policy;
CfnAccessPointProps cfnAccessPointProps = CfnAccessPointProps.builder()
.bucket("bucket")
.name("name")
.vpcConfiguration(VpcConfigurationProperty.builder()
.vpcId("vpcId")
.build())
// the properties below are optional
.policy(policy)
.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.S3Outposts;
var policy;
var cfnAccessPointProps = new CfnAccessPointProps {
Bucket = "bucket",
Name = "name",
VpcConfiguration = new VpcConfigurationProperty {
VpcId = "vpcId"
},
// the properties below are optional
Policy = policy
};
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"
var policy interface{}
cfnAccessPointProps := &CfnAccessPointProps{
Bucket: jsii.String("bucket"),
Name: jsii.String("name"),
VpcConfiguration: &VpcConfigurationProperty{
VpcId: jsii.String("vpcId"),
},
// the properties below are optional
Policy: policy,
}
Properties
The Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point.
The name of this access point.
policyoptionalanypolicyoptionalAnypolicyoptionalObjectPolicyoptionalobjectPolicyoptionalinterface{} #The access point policy associated with this access point.
vpcConfigurationIResolvable | CfnAccessPoint.vpc_configurationtyping.Union[IResolvable, VpcConfigurationProperty]vpcConfigurationIResolvableVpcConfigurationIResolvableVpcConfigurationinterface{} required #The virtual private cloud (VPC) configuration for this access point, if one exists.