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 list 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 list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.
idempotency_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
Create tags for 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 list 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 list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global 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 .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.
Create tags for 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 ==.