Struct aws_sdk_resiliencehub::types::AppInputSource
source · #[non_exhaustive]pub struct AppInputSource {
pub source_name: Option<String>,
pub import_type: ResourceMappingType,
pub source_arn: Option<String>,
pub terraform_source: Option<TerraformSource>,
pub resource_count: i32,
pub eks_source_cluster_namespace: Option<EksSourceClusterNamespace>,
}Expand description
The list of Resilience Hub application input sources.
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.source_name: Option<String>The name of the input source.
import_type: ResourceMappingTypeThe resource type of the input source.
source_arn: Option<String>The Amazon Resource Name (ARN) of the input source. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
terraform_source: Option<TerraformSource>The name of the Terraform s3 state file.
resource_count: i32The number of resources.
eks_source_cluster_namespace: Option<EksSourceClusterNamespace>The namespace on your Amazon Elastic Kubernetes Service cluster.
Implementations§
source§impl AppInputSource
impl AppInputSource
sourcepub fn source_name(&self) -> Option<&str>
pub fn source_name(&self) -> Option<&str>
The name of the input source.
sourcepub fn import_type(&self) -> &ResourceMappingType
pub fn import_type(&self) -> &ResourceMappingType
The resource type of the input source.
sourcepub fn source_arn(&self) -> Option<&str>
pub fn source_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the input source. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
sourcepub fn terraform_source(&self) -> Option<&TerraformSource>
pub fn terraform_source(&self) -> Option<&TerraformSource>
The name of the Terraform s3 state file.
sourcepub fn resource_count(&self) -> i32
pub fn resource_count(&self) -> i32
The number of resources.
sourcepub fn eks_source_cluster_namespace(&self) -> Option<&EksSourceClusterNamespace>
pub fn eks_source_cluster_namespace(&self) -> Option<&EksSourceClusterNamespace>
The namespace on your Amazon Elastic Kubernetes Service cluster.
source§impl AppInputSource
impl AppInputSource
sourcepub fn builder() -> AppInputSourceBuilder
pub fn builder() -> AppInputSourceBuilder
Creates a new builder-style object to manufacture AppInputSource.
Trait Implementations§
source§impl Clone for AppInputSource
impl Clone for AppInputSource
source§fn clone(&self) -> AppInputSource
fn clone(&self) -> AppInputSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AppInputSource
impl Debug for AppInputSource
source§impl PartialEq for AppInputSource
impl PartialEq for AppInputSource
source§fn eq(&self, other: &AppInputSource) -> bool
fn eq(&self, other: &AppInputSource) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AppInputSource
Auto Trait Implementations§
impl Freeze for AppInputSource
impl RefUnwindSafe for AppInputSource
impl Send for AppInputSource
impl Sync for AppInputSource
impl Unpin for AppInputSource
impl UnwindSafe for AppInputSource
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