Struct aws_sdk_gamelift::types::VpcPeeringAuthorization
source · #[non_exhaustive]pub struct VpcPeeringAuthorization {
pub game_lift_aws_account_id: Option<String>,
pub peer_vpc_aws_account_id: Option<String>,
pub peer_vpc_id: Option<String>,
pub creation_time: Option<DateTime>,
pub expiration_time: Option<DateTime>,
}
Expand description
Represents an authorization for a VPC peering connection between the VPC for an Amazon GameLift fleet and another VPC on an account you have access to. This authorization must exist and be valid for the peering connection to be established. Authorizations are valid for 24 hours after they are issued.
Related actions
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.game_lift_aws_account_id: Option<String>
A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.
peer_vpc_aws_account_id: Option<String>
The authorization's peer VPC Amazon Web Services account ID.
peer_vpc_id: Option<String>
A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the Amazon Web Services Management Console. Learn more about VPC peering in VPC Peering with Amazon GameLift Fleets.
creation_time: Option<DateTime>
Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
expiration_time: Option<DateTime>
Time stamp indicating when this authorization expires (24 hours after issuance). Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
Implementations§
source§impl VpcPeeringAuthorization
impl VpcPeeringAuthorization
sourcepub fn game_lift_aws_account_id(&self) -> Option<&str>
pub fn game_lift_aws_account_id(&self) -> Option<&str>
A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.
sourcepub fn peer_vpc_aws_account_id(&self) -> Option<&str>
pub fn peer_vpc_aws_account_id(&self) -> Option<&str>
The authorization's peer VPC Amazon Web Services account ID.
sourcepub fn peer_vpc_id(&self) -> Option<&str>
pub fn peer_vpc_id(&self) -> Option<&str>
A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the Amazon Web Services Management Console. Learn more about VPC peering in VPC Peering with Amazon GameLift Fleets.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
sourcepub fn expiration_time(&self) -> Option<&DateTime>
pub fn expiration_time(&self) -> Option<&DateTime>
Time stamp indicating when this authorization expires (24 hours after issuance). Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
source§impl VpcPeeringAuthorization
impl VpcPeeringAuthorization
sourcepub fn builder() -> VpcPeeringAuthorizationBuilder
pub fn builder() -> VpcPeeringAuthorizationBuilder
Creates a new builder-style object to manufacture VpcPeeringAuthorization
.
Trait Implementations§
source§impl Clone for VpcPeeringAuthorization
impl Clone for VpcPeeringAuthorization
source§fn clone(&self) -> VpcPeeringAuthorization
fn clone(&self) -> VpcPeeringAuthorization
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcPeeringAuthorization
impl Debug for VpcPeeringAuthorization
source§impl PartialEq for VpcPeeringAuthorization
impl PartialEq for VpcPeeringAuthorization
source§fn eq(&self, other: &VpcPeeringAuthorization) -> bool
fn eq(&self, other: &VpcPeeringAuthorization) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcPeeringAuthorization
Auto Trait Implementations§
impl Freeze for VpcPeeringAuthorization
impl RefUnwindSafe for VpcPeeringAuthorization
impl Send for VpcPeeringAuthorization
impl Sync for VpcPeeringAuthorization
impl Unpin for VpcPeeringAuthorization
impl UnwindSafe for VpcPeeringAuthorization
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more