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>
impl<S: State> AccessPointArgsBuilder<S>
sourcepub fn build_struct(self) -> AccessPointArgswhere
S: IsComplete,
pub fn build_struct(self) -> AccessPointArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn account_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AccessPointArgsBuilder<SetAccountId<S>>where
S::AccountId: IsUnset,
pub fn account_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AccessPointArgsBuilder<SetAccountId<S>>where
S::AccountId: IsUnset,
sourcepub fn maybe_account_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccessPointArgsBuilder<SetAccountId<S>>where
S::AccountId: IsUnset,
pub fn maybe_account_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccessPointArgsBuilder<SetAccountId<S>>where
S::AccountId: IsUnset,
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> AccessPointArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
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.
sourcepub fn bucket_account_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AccessPointArgsBuilder<SetBucketAccountId<S>>where
S::BucketAccountId: IsUnset,
pub fn bucket_account_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AccessPointArgsBuilder<SetBucketAccountId<S>>where
S::BucketAccountId: IsUnset,
sourcepub fn maybe_bucket_account_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccessPointArgsBuilder<SetBucketAccountId<S>>where
S::BucketAccountId: IsUnset,
pub fn maybe_bucket_account_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccessPointArgsBuilder<SetBucketAccountId<S>>where
S::BucketAccountId: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> AccessPointArgsBuilder<SetName<S>>where
S::Name: IsUnset,
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:
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccessPointArgsBuilder<SetName<S>>where
S::Name: IsUnset,
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:
sourcepub fn policy(
self,
value: impl Into<Output<Option<String>>>,
) -> AccessPointArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
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).
sourcepub fn maybe_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccessPointArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
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).
sourcepub fn public_access_block_configuration(
self,
value: impl Into<Output<Option<AccessPointPublicAccessBlockConfiguration>>>,
) -> AccessPointArgsBuilder<SetPublicAccessBlockConfiguration<S>>where
S::PublicAccessBlockConfiguration: IsUnset,
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.
sourcepub fn maybe_public_access_block_configuration(
self,
value: Option<impl Into<Output<Option<AccessPointPublicAccessBlockConfiguration>>>>,
) -> AccessPointArgsBuilder<SetPublicAccessBlockConfiguration<S>>where
S::PublicAccessBlockConfiguration: IsUnset,
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.
sourcepub fn vpc_configuration(
self,
value: impl Into<Output<Option<AccessPointVpcConfiguration>>>,
) -> AccessPointArgsBuilder<SetVpcConfiguration<S>>where
S::VpcConfiguration: IsUnset,
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.
sourcepub fn maybe_vpc_configuration(
self,
value: Option<impl Into<Output<Option<AccessPointVpcConfiguration>>>>,
) -> AccessPointArgsBuilder<SetVpcConfiguration<S>>where
S::VpcConfiguration: IsUnset,
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.