pub struct VpcEndpointPolicyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> VpcEndpointPolicyArgsBuilder<S>
impl<S: State> VpcEndpointPolicyArgsBuilder<S>
sourcepub fn build_struct(self) -> VpcEndpointPolicyArgswhere
S: IsComplete,
pub fn build_struct(self) -> VpcEndpointPolicyArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn policy(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcEndpointPolicyArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
pub fn policy(
self,
value: impl Into<Output<Option<String>>>,
) -> VpcEndpointPolicyArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A policy to attach to the endpoint that controls access to the service. Defaults to full access. All Gateway
and some Interface
endpoints support policies - see the relevant AWS documentation for more details.
sourcepub fn maybe_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcEndpointPolicyArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
pub fn maybe_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> VpcEndpointPolicyArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A policy to attach to the endpoint that controls access to the service. Defaults to full access. All Gateway
and some Interface
endpoints support policies - see the relevant AWS documentation for more details.
sourcepub fn vpc_endpoint_id(
self,
value: impl Into<Output<String>>,
) -> VpcEndpointPolicyArgsBuilder<SetVpcEndpointId<S>>where
S::VpcEndpointId: IsUnset,
pub fn vpc_endpoint_id(
self,
value: impl Into<Output<String>>,
) -> VpcEndpointPolicyArgsBuilder<SetVpcEndpointId<S>>where
S::VpcEndpointId: IsUnset,
Required.
The VPC Endpoint ID.