pub struct AccessPointArgs {
pub account_id: Output<Option<String>>,
pub bucket: Output<String>,
pub bucket_account_id: Output<Option<String>>,
pub name: Output<Option<String>>,
pub policy: Output<Option<String>>,
pub public_access_block_configuration: Output<Option<AccessPointPublicAccessBlockConfiguration>>,
pub vpc_configuration: Output<Option<AccessPointVpcConfiguration>>,
}
Fields§
§account_id: Output<Option<String>>
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: Output<String>
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.
bucket_account_id: Output<Option<String>>
AWS account ID associated with the S3 bucket associated with this access point.
name: Output<Option<String>>
Name you want to assign to this access point. See the AWS documentation for naming conditions.
The following arguments are optional:
policy: Output<Option<String>>
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).
public_access_block_configuration: Output<Option<AccessPointPublicAccessBlockConfiguration>>
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.
vpc_configuration: Output<Option<AccessPointVpcConfiguration>>
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.
Implementations§
source§impl AccessPointArgs
impl AccessPointArgs
sourcepub fn builder() -> AccessPointArgsBuilder
pub fn builder() -> AccessPointArgsBuilder
Create an instance of AccessPointArgs
using the builder syntax
Trait Implementations§
source§impl Clone for AccessPointArgs
impl Clone for AccessPointArgs
source§fn clone(&self) -> AccessPointArgs
fn clone(&self) -> AccessPointArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for AccessPointArgs
impl RefUnwindSafe for AccessPointArgs
impl Send for AccessPointArgs
impl Sync for AccessPointArgs
impl Unpin for AccessPointArgs
impl UnwindSafe for AccessPointArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)