#[non_exhaustive]pub struct RequiredActivatedType {
pub type_name_alias: Option<String>,
pub original_type_name: Option<String>,
pub publisher_id: Option<String>,
pub supported_major_versions: Option<Vec<i32>>,
}
Expand description
For extensions that are modules, a public third-party extension that must be activated in your account in order for the module itself to be activated.
For more information, see Activating public modules for use in your account in the CloudFormation User Guide.
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.type_name_alias: Option<String>
An alias assigned to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
original_type_name: Option<String>
The type name of the public extension.
If you specified a TypeNameAlias
when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.
publisher_id: Option<String>
The publisher ID of the extension publisher.
supported_major_versions: Option<Vec<i32>>
A list of the major versions of the extension type that the macro supports.
Implementations§
source§impl RequiredActivatedType
impl RequiredActivatedType
sourcepub fn type_name_alias(&self) -> Option<&str>
pub fn type_name_alias(&self) -> Option<&str>
An alias assigned to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
sourcepub fn original_type_name(&self) -> Option<&str>
pub fn original_type_name(&self) -> Option<&str>
The type name of the public extension.
If you specified a TypeNameAlias
when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see Specifying aliases to refer to extensions in the CloudFormation User Guide.
sourcepub fn publisher_id(&self) -> Option<&str>
pub fn publisher_id(&self) -> Option<&str>
The publisher ID of the extension publisher.
sourcepub fn supported_major_versions(&self) -> &[i32]
pub fn supported_major_versions(&self) -> &[i32]
A list of the major versions of the extension type that the macro supports.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_major_versions.is_none()
.
source§impl RequiredActivatedType
impl RequiredActivatedType
sourcepub fn builder() -> RequiredActivatedTypeBuilder
pub fn builder() -> RequiredActivatedTypeBuilder
Creates a new builder-style object to manufacture RequiredActivatedType
.
Trait Implementations§
source§impl Clone for RequiredActivatedType
impl Clone for RequiredActivatedType
source§fn clone(&self) -> RequiredActivatedType
fn clone(&self) -> RequiredActivatedType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RequiredActivatedType
impl Debug for RequiredActivatedType
source§impl PartialEq for RequiredActivatedType
impl PartialEq for RequiredActivatedType
source§fn eq(&self, other: &RequiredActivatedType) -> bool
fn eq(&self, other: &RequiredActivatedType) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RequiredActivatedType
Auto Trait Implementations§
impl Freeze for RequiredActivatedType
impl RefUnwindSafe for RequiredActivatedType
impl Send for RequiredActivatedType
impl Sync for RequiredActivatedType
impl Unpin for RequiredActivatedType
impl UnwindSafe for RequiredActivatedType
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