pub struct CreateVpcConnector { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateVpcConnector
.
Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC).
Implementations§
source§impl CreateVpcConnector
impl CreateVpcConnector
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateVpcConnector, AwsResponseRetryClassifier>, SdkError<CreateVpcConnectorError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateVpcConnector, AwsResponseRetryClassifier>, SdkError<CreateVpcConnectorError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateVpcConnectorOutput, SdkError<CreateVpcConnectorError>>
pub async fn send(
self
) -> Result<CreateVpcConnectorOutput, SdkError<CreateVpcConnectorError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn vpc_connector_name(self, input: impl Into<String>) -> Self
pub fn vpc_connector_name(self, input: impl Into<String>) -> Self
A name for the VPC connector.
sourcepub fn set_vpc_connector_name(self, input: Option<String>) -> Self
pub fn set_vpc_connector_name(self, input: Option<String>) -> Self
A name for the VPC connector.
sourcepub fn subnets(self, input: impl Into<String>) -> Self
pub fn subnets(self, input: impl Into<String>) -> Self
Appends an item to Subnets
.
To override the contents of this collection use set_subnets
.
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
sourcepub fn set_subnets(self, input: Option<Vec<String>>) -> Self
pub fn set_subnets(self, input: Option<Vec<String>>) -> Self
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to SecurityGroups
.
To override the contents of this collection use set_security_groups
.
A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
Trait Implementations§
source§impl Clone for CreateVpcConnector
impl Clone for CreateVpcConnector
source§fn clone(&self) -> CreateVpcConnector
fn clone(&self) -> CreateVpcConnector
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more