#[non_exhaustive]pub struct SetTypeConfigurationInput {
pub type_arn: Option<String>,
pub configuration: Option<String>,
pub configuration_alias: Option<String>,
pub type_name: Option<String>,
pub type: Option<ThirdPartyType>,
}
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_arn: Option<String>
The Amazon Resource Name (ARN) for the extension, in this account and Region.
For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region.
Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.
configuration: Option<String>
The configuration data for the extension, in this account and Region.
The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema
response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
configuration_alias: Option<String>
An alias by which to refer to this extension configuration data.
Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.
type_name: Option<String>
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
type: Option<ThirdPartyType>
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
Implementations§
source§impl SetTypeConfigurationInput
impl SetTypeConfigurationInput
sourcepub fn type_arn(&self) -> Option<&str>
pub fn type_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the extension, in this account and Region.
For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region.
Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version.
sourcepub fn configuration(&self) -> Option<&str>
pub fn configuration(&self) -> Option<&str>
The configuration data for the extension, in this account and Region.
The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema
response element of DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide.
sourcepub fn configuration_alias(&self) -> Option<&str>
pub fn configuration_alias(&self) -> Option<&str>
An alias by which to refer to this extension configuration data.
Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension.
sourcepub fn type_name(&self) -> Option<&str>
pub fn type_name(&self) -> Option<&str>
The name of the extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
sourcepub fn type(&self) -> Option<&ThirdPartyType>
pub fn type(&self) -> Option<&ThirdPartyType>
The type of extension.
Conditional: You must specify ConfigurationArn
, or Type
and TypeName
.
source§impl SetTypeConfigurationInput
impl SetTypeConfigurationInput
sourcepub fn builder() -> SetTypeConfigurationInputBuilder
pub fn builder() -> SetTypeConfigurationInputBuilder
Creates a new builder-style object to manufacture SetTypeConfigurationInput
.
Trait Implementations§
source§impl Clone for SetTypeConfigurationInput
impl Clone for SetTypeConfigurationInput
source§fn clone(&self) -> SetTypeConfigurationInput
fn clone(&self) -> SetTypeConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SetTypeConfigurationInput
impl Debug for SetTypeConfigurationInput
source§impl PartialEq for SetTypeConfigurationInput
impl PartialEq for SetTypeConfigurationInput
source§fn eq(&self, other: &SetTypeConfigurationInput) -> bool
fn eq(&self, other: &SetTypeConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetTypeConfigurationInput
Auto Trait Implementations§
impl Freeze for SetTypeConfigurationInput
impl RefUnwindSafe for SetTypeConfigurationInput
impl Send for SetTypeConfigurationInput
impl Sync for SetTypeConfigurationInput
impl Unpin for SetTypeConfigurationInput
impl UnwindSafe for SetTypeConfigurationInput
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