Struct aws_sdk_route53resolver::input::CreateResolverEndpointInput [−][src]
#[non_exhaustive]pub struct CreateResolverEndpointInput {
pub creator_request_id: Option<String>,
pub name: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub direction: Option<ResolverEndpointDirection>,
pub ip_addresses: Option<Vec<IpAddressRequest>>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.creator_request_id: Option<String>
A unique string that identifies the request and that allows failed requests to be retried
without the risk of running the operation twice. CreatorRequestId
can be
any unique string, for example, a date/time stamp.
name: Option<String>
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
security_group_ids: Option<Vec<String>>
The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.
direction: Option<ResolverEndpointDirection>
Specify the applicable value:
-
INBOUND
: Resolver forwards DNS queries to the DNS service for a VPC from your network -
OUTBOUND
: Resolver forwards DNS queries from the DNS service for a VPC to your network
ip_addresses: Option<Vec<IpAddressRequest>>
The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.
A list of the tag keys and values that you want to associate with the endpoint.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateResolverEndpoint, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateResolverEndpoint, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateResolverEndpoint
>
Creates a new builder-style object to manufacture CreateResolverEndpointInput
A unique string that identifies the request and that allows failed requests to be retried
without the risk of running the operation twice. CreatorRequestId
can be
any unique string, for example, a date/time stamp.
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.
Specify the applicable value:
-
INBOUND
: Resolver forwards DNS queries to the DNS service for a VPC from your network -
OUTBOUND
: Resolver forwards DNS queries from the DNS service for a VPC to your network
The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.
A list of the tag keys and values that you want to associate with the endpoint.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateResolverEndpointInput
impl Send for CreateResolverEndpointInput
impl Sync for CreateResolverEndpointInput
impl Unpin for CreateResolverEndpointInput
impl UnwindSafe for CreateResolverEndpointInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more