#[non_exhaustive]pub struct CreateApplicationInput {
pub resource_group_name: Option<String>,
pub ops_center_enabled: Option<bool>,
pub cwe_monitor_enabled: Option<bool>,
pub ops_item_sns_topic_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
pub auto_config_enabled: Option<bool>,
pub auto_create: Option<bool>,
pub grouping_type: Option<GroupingType>,
pub attach_missing_permission: Option<bool>,
}
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.resource_group_name: Option<String>
The name of the resource group.
ops_center_enabled: Option<bool>
When set to true
, creates opsItems for any problems detected on an application.
cwe_monitor_enabled: Option<bool>
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated
, failed deployment
, and others.
ops_item_sns_topic_arn: Option<String>
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
List of tags to add to the application. tag key (Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
auto_config_enabled: Option<bool>
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
auto_create: Option<bool>
Configures all of the resources in the resource group by applying the recommended configurations.
grouping_type: Option<GroupingType>
Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED
.
attach_missing_permission: Option<bool>
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
Implementations§
source§impl CreateApplicationInput
impl CreateApplicationInput
sourcepub fn resource_group_name(&self) -> Option<&str>
pub fn resource_group_name(&self) -> Option<&str>
The name of the resource group.
sourcepub fn ops_center_enabled(&self) -> Option<bool>
pub fn ops_center_enabled(&self) -> Option<bool>
When set to true
, creates opsItems for any problems detected on an application.
sourcepub fn cwe_monitor_enabled(&self) -> Option<bool>
pub fn cwe_monitor_enabled(&self) -> Option<bool>
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated
, failed deployment
, and others.
sourcepub fn ops_item_sns_topic_arn(&self) -> Option<&str>
pub fn ops_item_sns_topic_arn(&self) -> Option<&str>
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
List of tags to add to the application. tag key (Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn auto_config_enabled(&self) -> Option<bool>
pub fn auto_config_enabled(&self) -> Option<bool>
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
sourcepub fn auto_create(&self) -> Option<bool>
pub fn auto_create(&self) -> Option<bool>
Configures all of the resources in the resource group by applying the recommended configurations.
sourcepub fn grouping_type(&self) -> Option<&GroupingType>
pub fn grouping_type(&self) -> Option<&GroupingType>
Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED
.
sourcepub fn attach_missing_permission(&self) -> Option<bool>
pub fn attach_missing_permission(&self) -> Option<bool>
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
source§impl CreateApplicationInput
impl CreateApplicationInput
sourcepub fn builder() -> CreateApplicationInputBuilder
pub fn builder() -> CreateApplicationInputBuilder
Creates a new builder-style object to manufacture CreateApplicationInput
.
Trait Implementations§
source§impl Clone for CreateApplicationInput
impl Clone for CreateApplicationInput
source§fn clone(&self) -> CreateApplicationInput
fn clone(&self) -> CreateApplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateApplicationInput
impl Debug for CreateApplicationInput
source§impl PartialEq for CreateApplicationInput
impl PartialEq for CreateApplicationInput
source§fn eq(&self, other: &CreateApplicationInput) -> bool
fn eq(&self, other: &CreateApplicationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateApplicationInput
Auto Trait Implementations§
impl Freeze for CreateApplicationInput
impl RefUnwindSafe for CreateApplicationInput
impl Send for CreateApplicationInput
impl Sync for CreateApplicationInput
impl Unpin for CreateApplicationInput
impl UnwindSafe for CreateApplicationInput
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