# CfnAccessPointProps

Properties for defining a `CfnAccessPoint`.

Used as props by: [CfnAccessPoint](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3outposts.CfnAccessPoint.html)

- Source: Generated at build time

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `bucket`: string (required) — The Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point.

- `name`: string (required) — The name of this access point.

- `policy`: any — The access point policy associated with this access point.

- `vpcConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAccessPoint.VpcConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3outposts.CfnAccessPoint.VpcConfigurationProperty.html) (required) — The virtual private cloud (VPC) configuration for this access point, if one exists.
