You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`bucket` - (Required) The name of the bucket that you want to associate this access point with.
56
+
*`bucket` - (Required) The name of an AWS Partition S3 Bucket or the Amazon Resource Name (ARN) of S3 on Outposts Bucket that you want to associate this access point with.
56
57
*`name` - (Required) The name you want to assign to this access point.
57
58
58
59
The following arguments are optional:
59
60
60
61
*`account_id` - (Optional) The 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 Terraform AWS provider.
61
62
*`policy` - (Optional) A valid JSON document that specifies the policy that you want to apply to this access point.
62
63
*`public_access_block_configuration` - (Optional) 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.
63
-
*`vpc_configuration` - (Optional) Configuration block to restrict access to this access point to requests from the specified Virtual Private Cloud (VPC). Detailed below.
64
+
*`vpc_configuration` - (Optional) Configuration block to restrict access to this access point to requests from the specified Virtual Private Cloud (VPC). Required for S3 on Outposts. Detailed below.
@@ -91,13 +92,19 @@ In addition to all arguments above, the following attributes are exported:
91
92
*`domain_name` - The DNS domain name of the S3 Access Point in the format _`name`_-_`account_id`_.s3-accesspoint._region_.amazonaws.com.
92
93
Note: S3 access points only support secure access by HTTPS. HTTP isn't supported.
93
94
*`has_public_access_policy` - Indicates whether this access point currently has a policy that allows public access.
94
-
*`id` - AWS account ID and access point name separated by a colon (`:`).
95
+
*`id` - For Access Point of an AWS Partition S3 Bucket, the AWS account ID and access point name separated by a colon (`:`). For S3 on Outposts Bucket, the Amazon Resource Name (ARN) of the Access Point.
95
96
*`network_origin` - Indicates whether this access point allows access from the public Internet. Values are `VPC` (the access point doesn't allow access from the public Internet) and `Internet` (the access point allows access from the public Internet, subject to the access point and bucket access policies).
96
97
97
98
## Import
98
99
99
-
S3 Access Points can be imported using the `account_id` and `name` separated by a colon (`:`), e.g.
100
+
For Access Points associated with an AWS Partition S3 Bucket, this resource can be imported using the `account_id` and `name` separated by a colon (`:`), e.g.
0 commit comments