Struct aws_sdk_globalaccelerator::operation::create_cross_account_attachment::CreateCrossAccountAttachmentInput
source · #[non_exhaustive]pub struct CreateCrossAccountAttachmentInput {
pub name: Option<String>,
pub principals: Option<Vec<String>>,
pub resources: Option<Vec<Resource>>,
pub idempotency_token: Option<String>,
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.name: Option<String>The name of the cross-account attachment.
principals: Option<Vec<String>>The principals to include in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.
resources: Option<Vec<Resource>>The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator or a CIDR range for a bring your own IP address (BYOIP) address pool.
idempotency_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
Add tags for a cross-account attachment.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
Implementations§
source§impl CreateCrossAccountAttachmentInput
impl CreateCrossAccountAttachmentInput
sourcepub fn principals(&self) -> &[String]
pub fn principals(&self) -> &[String]
The principals to include in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .principals.is_none().
sourcepub fn resources(&self) -> &[Resource]
pub fn resources(&self) -> &[Resource]
The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator or a CIDR range for a bring your own IP address (BYOIP) address pool.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none().
sourcepub fn idempotency_token(&self) -> Option<&str>
pub fn idempotency_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
Add tags for a cross-account attachment.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateCrossAccountAttachmentInput
impl CreateCrossAccountAttachmentInput
sourcepub fn builder() -> CreateCrossAccountAttachmentInputBuilder
pub fn builder() -> CreateCrossAccountAttachmentInputBuilder
Creates a new builder-style object to manufacture CreateCrossAccountAttachmentInput.
Trait Implementations§
source§impl Clone for CreateCrossAccountAttachmentInput
impl Clone for CreateCrossAccountAttachmentInput
source§fn clone(&self) -> CreateCrossAccountAttachmentInput
fn clone(&self) -> CreateCrossAccountAttachmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateCrossAccountAttachmentInput
impl PartialEq for CreateCrossAccountAttachmentInput
source§fn eq(&self, other: &CreateCrossAccountAttachmentInput) -> bool
fn eq(&self, other: &CreateCrossAccountAttachmentInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateCrossAccountAttachmentInput
Auto Trait Implementations§
impl Freeze for CreateCrossAccountAttachmentInput
impl RefUnwindSafe for CreateCrossAccountAttachmentInput
impl Send for CreateCrossAccountAttachmentInput
impl Sync for CreateCrossAccountAttachmentInput
impl Unpin for CreateCrossAccountAttachmentInput
impl UnwindSafe for CreateCrossAccountAttachmentInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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