pulumi_wasm_providers_aws_mini::s3::access_point

Struct AccessPointArgsBuilder

source
pub struct AccessPointArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build_struct().

Implementations§

source§

impl<S: State> AccessPointArgsBuilder<S>

source

pub fn build_struct(self) -> AccessPointArgs
where S: IsComplete,

Finish building and return the requested object

source

pub fn account_id( self, value: impl Into<Output<Option<String>>>, ) -> AccessPointArgsBuilder<SetAccountId<S>>
where S::AccountId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn maybe_account_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccessPointArgsBuilder<SetAccountId<S>>
where S::AccountId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn bucket( self, value: impl Into<Output<String>>, ) -> AccessPointArgsBuilder<SetBucket<S>>
where S::Bucket: IsUnset,

Required.

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.

source

pub fn bucket_account_id( self, value: impl Into<Output<Option<String>>>, ) -> AccessPointArgsBuilder<SetBucketAccountId<S>>
where S::BucketAccountId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

AWS account ID associated with the S3 bucket associated with this access point.

source

pub fn maybe_bucket_account_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccessPointArgsBuilder<SetBucketAccountId<S>>
where S::BucketAccountId: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

AWS account ID associated with the S3 bucket associated with this access point.

source

pub fn name( self, value: impl Into<Output<Option<String>>>, ) -> AccessPointArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Name you want to assign to this access point. See the AWS documentation for naming conditions.

The following arguments are optional:

source

pub fn maybe_name( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccessPointArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Name you want to assign to this access point. See the AWS documentation for naming conditions.

The following arguments are optional:

source

pub fn policy( self, value: impl Into<Output<Option<String>>>, ) -> AccessPointArgsBuilder<SetPolicy<S>>
where S::Policy: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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).

source

pub fn maybe_policy( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccessPointArgsBuilder<SetPolicy<S>>
where S::Policy: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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).

source

pub fn public_access_block_configuration( self, value: impl Into<Output<Option<AccessPointPublicAccessBlockConfiguration>>>, ) -> AccessPointArgsBuilder<SetPublicAccessBlockConfiguration<S>>
where S::PublicAccessBlockConfiguration: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::s3::AccessPointPublicAccessBlockConfiguration>,
> as Default>::default()

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.

source

pub fn maybe_public_access_block_configuration( self, value: Option<impl Into<Output<Option<AccessPointPublicAccessBlockConfiguration>>>>, ) -> AccessPointArgsBuilder<SetPublicAccessBlockConfiguration<S>>
where S::PublicAccessBlockConfiguration: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::s3::AccessPointPublicAccessBlockConfiguration>,
> as Default>::default()

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.

source

pub fn vpc_configuration( self, value: impl Into<Output<Option<AccessPointVpcConfiguration>>>, ) -> AccessPointArgsBuilder<SetVpcConfiguration<S>>
where S::VpcConfiguration: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::s3::AccessPointVpcConfiguration>,
> as Default>::default()

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.

source

pub fn maybe_vpc_configuration( self, value: Option<impl Into<Output<Option<AccessPointVpcConfiguration>>>>, ) -> AccessPointArgsBuilder<SetVpcConfiguration<S>>
where S::VpcConfiguration: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::s3::AccessPointVpcConfiguration>,
> as Default>::default()

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.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.