Class CfnAccessPoint.Builder

java.lang.Object
software.amazon.awscdk.services.s3outposts.CfnAccessPoint.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPoint>
Enclosing class:
CfnAccessPoint

@Stability(Stable) public static final class CfnAccessPoint.Builder extends Object implements software.amazon.jsii.Builder<CfnAccessPoint>
A fluent builder for CfnAccessPoint.
  • Method Details

    • create

      @Stability(Stable) public static CfnAccessPoint.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnAccessPoint.Builder.
    • bucket

      @Stability(Stable) public CfnAccessPoint.Builder bucket(String bucket)
      The Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point.

      Parameters:
      bucket - The Amazon Resource Name (ARN) of the S3 on Outposts bucket that is associated with this access point. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnAccessPoint.Builder name(String name)
      The name of this access point.

      Parameters:
      name - The name of this access point. This parameter is required.
      Returns:
      this
    • vpcConfiguration

      @Stability(Stable) public CfnAccessPoint.Builder vpcConfiguration(CfnAccessPoint.VpcConfigurationProperty vpcConfiguration)
      The virtual private cloud (VPC) configuration for this access point, if one exists.

      Parameters:
      vpcConfiguration - The virtual private cloud (VPC) configuration for this access point, if one exists. This parameter is required.
      Returns:
      this
    • vpcConfiguration

      @Stability(Stable) public CfnAccessPoint.Builder vpcConfiguration(IResolvable vpcConfiguration)
      The virtual private cloud (VPC) configuration for this access point, if one exists.

      Parameters:
      vpcConfiguration - The virtual private cloud (VPC) configuration for this access point, if one exists. This parameter is required.
      Returns:
      this
    • policy

      @Stability(Stable) public CfnAccessPoint.Builder policy(Object policy)
      The access point policy associated with this access point.

      Parameters:
      policy - The access point policy associated with this access point. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnAccessPoint build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnAccessPoint>
      Returns:
      a newly built instance of CfnAccessPoint.