Class AccessPointArgs.Builder

  • Enclosing class:
    AccessPointArgs

    public static final class AccessPointArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • accountId

        public AccessPointArgs.Builder accountId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> accountId)
        Parameters:
        accountId - AWS account ID for the owner of the bucket for which you want to create an access point. Defaults to automatically determined account ID of the AWS provider.
        Returns:
        builder
      • accountId

        public AccessPointArgs.Builder accountId​(java.lang.String accountId)
        Parameters:
        accountId - AWS account ID for the owner of the bucket for which you want to create an access point. Defaults to automatically determined account ID of the AWS provider.
        Returns:
        builder
      • bucket

        public AccessPointArgs.Builder bucket​(com.pulumi.core.Output<java.lang.String> bucket)
        Parameters:
        bucket - Name of an AWS Partition S3 General Purpose Bucket or the ARN of S3 on Outposts Bucket that you want to associate this access point with.
        Returns:
        builder
      • bucket

        public AccessPointArgs.Builder bucket​(java.lang.String bucket)
        Parameters:
        bucket - Name of an AWS Partition S3 General Purpose Bucket or the ARN of S3 on Outposts Bucket that you want to associate this access point with.
        Returns:
        builder
      • bucketAccountId

        public AccessPointArgs.Builder bucketAccountId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> bucketAccountId)
        Parameters:
        bucketAccountId - AWS account ID associated with the S3 bucket associated with this access point.
        Returns:
        builder
      • bucketAccountId

        public AccessPointArgs.Builder bucketAccountId​(java.lang.String bucketAccountId)
        Parameters:
        bucketAccountId - AWS account ID associated with the S3 bucket associated with this access point.
        Returns:
        builder
      • name

        public AccessPointArgs.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name you want to assign to this access point. See the [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-access-points.html?icmpid=docs_amazons3_console#access-points-names) for naming conditions. The following arguments are optional:
        Returns:
        builder
      • name

        public AccessPointArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name you want to assign to this access point. See the [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-access-points.html?icmpid=docs_amazons3_console#access-points-names) for naming conditions. The following arguments are optional:
        Returns:
        builder
      • policy

        public AccessPointArgs.Builder policy​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> policy)
        Parameters:
        policy - Valid JSON document that specifies the policy that you want to apply to this access point. Removing `policy` from your configuration or setting `policy` to null or an empty string (i.e., `policy = ""`) _will not_ delete the policy since it could have been set by `aws.s3control.AccessPointPolicy`. To remove the `policy`, set it to `"{}"` (an empty JSON document).
        Returns:
        builder
      • policy

        public AccessPointArgs.Builder policy​(java.lang.String policy)
        Parameters:
        policy - Valid JSON document that specifies the policy that you want to apply to this access point. Removing `policy` from your configuration or setting `policy` to null or an empty string (i.e., `policy = ""`) _will not_ delete the policy since it could have been set by `aws.s3control.AccessPointPolicy`. To remove the `policy`, set it to `"{}"` (an empty JSON document).
        Returns:
        builder
      • publicAccessBlockConfiguration

        public AccessPointArgs.Builder publicAccessBlockConfiguration​(@Nullable
                                                                      com.pulumi.core.Output<AccessPointPublicAccessBlockConfigurationArgs> publicAccessBlockConfiguration)
        Parameters:
        publicAccessBlockConfiguration - Configuration block to manage the `PublicAccessBlock` configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. Detailed below.
        Returns:
        builder
      • publicAccessBlockConfiguration

        public AccessPointArgs.Builder publicAccessBlockConfiguration​(AccessPointPublicAccessBlockConfigurationArgs publicAccessBlockConfiguration)
        Parameters:
        publicAccessBlockConfiguration - Configuration block to manage the `PublicAccessBlock` configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. Detailed below.
        Returns:
        builder
      • region

        public AccessPointArgs.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public AccessPointArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public AccessPointArgs.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the bucket. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public AccessPointArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the bucket. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • vpcConfiguration

        public AccessPointArgs.Builder vpcConfiguration​(@Nullable
                                                        com.pulumi.core.Output<AccessPointVpcConfigurationArgs> vpcConfiguration)
        Parameters:
        vpcConfiguration - Configuration block to restrict access to this access point to requests from the specified VPC. Required for S3 on Outposts. Detailed below.
        Returns:
        builder
      • vpcConfiguration

        public AccessPointArgs.Builder vpcConfiguration​(AccessPointVpcConfigurationArgs vpcConfiguration)
        Parameters:
        vpcConfiguration - Configuration block to restrict access to this access point to requests from the specified VPC. Required for S3 on Outposts. Detailed below.
        Returns:
        builder