#[non_exhaustive]pub struct ResourceIdentifierSummary {
pub resource_type: Option<String>,
pub logical_resource_ids: Option<Vec<String>>,
pub resource_identifiers: Option<Vec<String>>,
}
Expand description
Describes the target resources of a specific type in your import template (for example, all AWS::S3::Bucket
resources) and the properties you can provide during the import to identify resources of that type.
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.resource_type: Option<String>
The template resource type of the target resources, such as AWS::S3::Bucket
.
logical_resource_ids: Option<Vec<String>>
The logical IDs of the target resources of the specified ResourceType
, as defined in the import template.
resource_identifiers: Option<Vec<String>>
The resource properties you can provide during the import to identify your target resources. For example, BucketName
is a possible identifier property for AWS::S3::Bucket
resources.
Implementations§
source§impl ResourceIdentifierSummary
impl ResourceIdentifierSummary
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The template resource type of the target resources, such as AWS::S3::Bucket
.
sourcepub fn logical_resource_ids(&self) -> &[String]
pub fn logical_resource_ids(&self) -> &[String]
The logical IDs of the target resources of the specified ResourceType
, as defined in the import template.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .logical_resource_ids.is_none()
.
sourcepub fn resource_identifiers(&self) -> &[String]
pub fn resource_identifiers(&self) -> &[String]
The resource properties you can provide during the import to identify your target resources. For example, BucketName
is a possible identifier property for AWS::S3::Bucket
resources.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_identifiers.is_none()
.
source§impl ResourceIdentifierSummary
impl ResourceIdentifierSummary
sourcepub fn builder() -> ResourceIdentifierSummaryBuilder
pub fn builder() -> ResourceIdentifierSummaryBuilder
Creates a new builder-style object to manufacture ResourceIdentifierSummary
.
Trait Implementations§
source§impl Clone for ResourceIdentifierSummary
impl Clone for ResourceIdentifierSummary
source§fn clone(&self) -> ResourceIdentifierSummary
fn clone(&self) -> ResourceIdentifierSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceIdentifierSummary
impl Debug for ResourceIdentifierSummary
source§impl PartialEq for ResourceIdentifierSummary
impl PartialEq for ResourceIdentifierSummary
source§fn eq(&self, other: &ResourceIdentifierSummary) -> bool
fn eq(&self, other: &ResourceIdentifierSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceIdentifierSummary
Auto Trait Implementations§
impl Freeze for ResourceIdentifierSummary
impl RefUnwindSafe for ResourceIdentifierSummary
impl Send for ResourceIdentifierSummary
impl Sync for ResourceIdentifierSummary
impl Unpin for ResourceIdentifierSummary
impl UnwindSafe for ResourceIdentifierSummary
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