pub struct SecurityGroupAssociationArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> SecurityGroupAssociationArgsBuilder<S>
impl<S: State> SecurityGroupAssociationArgsBuilder<S>
sourcepub fn build_struct(self) -> SecurityGroupAssociationArgswhere
S: IsComplete,
pub fn build_struct(self) -> SecurityGroupAssociationArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn replace_default_association(
self,
value: impl Into<Output<Option<bool>>>,
) -> SecurityGroupAssociationArgsBuilder<SetReplaceDefaultAssociation<S>>where
S::ReplaceDefaultAssociation: IsUnset,
pub fn replace_default_association(
self,
value: impl Into<Output<Option<bool>>>,
) -> SecurityGroupAssociationArgsBuilder<SetReplaceDefaultAssociation<S>>where
S::ReplaceDefaultAssociation: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Whether this association should replace the association with the VPC’s default security group that is created when no security groups are specified during VPC endpoint creation. At most 1 association per-VPC endpoint should be configured with replace_default_association = true
.
sourcepub fn maybe_replace_default_association(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SecurityGroupAssociationArgsBuilder<SetReplaceDefaultAssociation<S>>where
S::ReplaceDefaultAssociation: IsUnset,
pub fn maybe_replace_default_association(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SecurityGroupAssociationArgsBuilder<SetReplaceDefaultAssociation<S>>where
S::ReplaceDefaultAssociation: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Whether this association should replace the association with the VPC’s default security group that is created when no security groups are specified during VPC endpoint creation. At most 1 association per-VPC endpoint should be configured with replace_default_association = true
.
sourcepub fn security_group_id(
self,
value: impl Into<Output<String>>,
) -> SecurityGroupAssociationArgsBuilder<SetSecurityGroupId<S>>where
S::SecurityGroupId: IsUnset,
pub fn security_group_id(
self,
value: impl Into<Output<String>>,
) -> SecurityGroupAssociationArgsBuilder<SetSecurityGroupId<S>>where
S::SecurityGroupId: IsUnset,
Required.
The ID of the security group to be associated with the VPC endpoint.
sourcepub fn vpc_endpoint_id(
self,
value: impl Into<Output<String>>,
) -> SecurityGroupAssociationArgsBuilder<SetVpcEndpointId<S>>where
S::VpcEndpointId: IsUnset,
pub fn vpc_endpoint_id(
self,
value: impl Into<Output<String>>,
) -> SecurityGroupAssociationArgsBuilder<SetVpcEndpointId<S>>where
S::VpcEndpointId: IsUnset,
Required.
The ID of the VPC endpoint with which the security group will be associated.