#[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 ==
.