Struct aws_sdk_cloudformation::input::ActivateTypeInput [−][src]
#[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 Number (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
pub 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
>
Creates a new builder-style object to manufacture ActivateTypeInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more