AccessPointArgs constructor

const AccessPointArgs({
  1. Input<String?>? accountId,
  2. required Input<String> bucket,
  3. Input<String?>? bucketAccountId,
  4. Input<String?>? name,
  5. Input<String?>? policy,
  6. Input<AccessPointPublicAccessBlockConfiguration?>? publicAccessBlockConfiguration,
  7. Input<String?>? region,
  8. Input<Map<String, String>?>? tags,
  9. Input<AccessPointVpcConfiguration?>? vpcConfiguration,
})

Creates a new AccessPointArgs. 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. 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. bucketAccountId AWS account ID associated with the S3 bucket associated with this access point. name Name you want to assign to this access point. See the AWS documentation for naming conditions. 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). 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. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. 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. vpcConfiguration Configuration block to restrict access to this access point to requests from the specified VPC. Required for S3 on Outposts. Detailed below.

Implementation

const AccessPointArgs({
  this.accountId,
  required this.bucket,
  this.bucketAccountId,
  this.name,
  this.policy,
  this.publicAccessBlockConfiguration,
  this.region,
  this.tags,
  this.vpcConfiguration,
});