Struct aws_sdk_cloudformation::input::ActivateTypeInput
source · [−]#[non_exhaustive]pub struct ActivateTypeInput {
pub type: Option<ThirdPartyType>,
pub public_type_arn: Option<String>,
pub publisher_id: Option<String>,
pub type_name: Option<String>,
pub type_name_alias: Option<String>,
pub auto_update: Option<bool>,
pub logging_config: Option<LoggingConfig>,
pub execution_role_arn: Option<String>,
pub version_bump: Option<VersionBump>,
pub major_version: Option<i64>,
}
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: Option<ThirdPartyType>
The extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
public_type_arn: Option<String>
The Amazon Resource Name (ARN) of the public extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
publisher_id: Option<String>
The ID of the extension publisher.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
type_name: Option<String>
The name of the extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
type_name_alias: Option<String>
An alias to assign 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.
An extension alias must be unique within a given account and region. You can activate the same public resource multiple times in the same account and region, using different type name aliases.
auto_update: Option<bool>
Whether to automatically update the extension in this account and region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated.
The default is true
.
logging_config: Option<LoggingConfig>
Contains logging configuration information for an extension.
execution_role_arn: Option<String>
The name of the IAM execution role to use to activate the extension.
version_bump: Option<VersionBump>
Manually updates a previously-activated type to a new major or minor version, if available. You can also use this parameter to update the value of AutoUpdate
.
-
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available. -
MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
major_version: Option<i64>
The major version of this extension you want to activate, if multiple major versions are available. The default is the latest major version. CloudFormation uses the latest available minor version of the major version selected.
You can specify MajorVersion
or VersionBump
, but not both.
Implementations
sourceimpl ActivateTypeInput
impl ActivateTypeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ActivateType, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ActivateType, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ActivateType
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ActivateTypeInput
.
sourceimpl ActivateTypeInput
impl ActivateTypeInput
sourcepub fn type(&self) -> Option<&ThirdPartyType>
pub fn type(&self) -> Option<&ThirdPartyType>
The extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
sourcepub fn public_type_arn(&self) -> Option<&str>
pub fn public_type_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the public extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
sourcepub fn publisher_id(&self) -> Option<&str>
pub fn publisher_id(&self) -> Option<&str>
The ID of the extension publisher.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
sourcepub fn type_name(&self) -> Option<&str>
pub fn type_name(&self) -> Option<&str>
The name of the extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and PublisherId
.
sourcepub fn type_name_alias(&self) -> Option<&str>
pub fn type_name_alias(&self) -> Option<&str>
An alias to assign 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.
An extension alias must be unique within a given account and region. You can activate the same public resource multiple times in the same account and region, using different type name aliases.
sourcepub fn auto_update(&self) -> Option<bool>
pub fn auto_update(&self) -> Option<bool>
Whether to automatically update the extension in this account and region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated.
The default is true
.
sourcepub fn logging_config(&self) -> Option<&LoggingConfig>
pub fn logging_config(&self) -> Option<&LoggingConfig>
Contains logging configuration information for an extension.
sourcepub fn execution_role_arn(&self) -> Option<&str>
pub fn execution_role_arn(&self) -> Option<&str>
The name of the IAM execution role to use to activate the extension.
sourcepub fn version_bump(&self) -> Option<&VersionBump>
pub fn version_bump(&self) -> Option<&VersionBump>
Manually updates a previously-activated type to a new major or minor version, if available. You can also use this parameter to update the value of AutoUpdate
.
-
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available. -
MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
sourcepub fn major_version(&self) -> Option<i64>
pub fn major_version(&self) -> Option<i64>
The major version of this extension you want to activate, if multiple major versions are available. The default is the latest major version. CloudFormation uses the latest available minor version of the major version selected.
You can specify MajorVersion
or VersionBump
, but not both.
Trait Implementations
sourceimpl Clone for ActivateTypeInput
impl Clone for ActivateTypeInput
sourcefn clone(&self) -> ActivateTypeInput
fn clone(&self) -> ActivateTypeInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ActivateTypeInput
impl Debug for ActivateTypeInput
sourceimpl PartialEq<ActivateTypeInput> for ActivateTypeInput
impl PartialEq<ActivateTypeInput> for ActivateTypeInput
sourcefn eq(&self, other: &ActivateTypeInput) -> bool
fn eq(&self, other: &ActivateTypeInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ActivateTypeInput) -> bool
fn ne(&self, other: &ActivateTypeInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ActivateTypeInput
Auto Trait Implementations
impl RefUnwindSafe for ActivateTypeInput
impl Send for ActivateTypeInput
impl Sync for ActivateTypeInput
impl Unpin for ActivateTypeInput
impl UnwindSafe for ActivateTypeInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more