@Stability(value=Stable) public static final class CfnApplication.Builder extends Object implements software.amazon.jsii.Builder<CfnApplication>
CfnApplication.| Modifier and Type | Method and Description |
|---|---|
CfnApplication.Builder |
autoConfigurationEnabled(Boolean autoConfigurationEnabled)
If set to `true` , the application components will be configured with the monitoring configuration recommended by Application Insights.
|
CfnApplication.Builder |
autoConfigurationEnabled(IResolvable autoConfigurationEnabled)
If set to `true` , the application components will be configured with the monitoring configuration recommended by Application Insights.
|
CfnApplication |
build() |
CfnApplication.Builder |
componentMonitoringSettings(IResolvable componentMonitoringSettings)
The monitoring settings of the components.
|
CfnApplication.Builder |
componentMonitoringSettings(List<? extends Object> componentMonitoringSettings)
The monitoring settings of the components.
|
static CfnApplication.Builder |
create(Construct scope,
String id) |
CfnApplication.Builder |
customComponents(IResolvable customComponents)
Describes a custom component by grouping similar standalone instances to monitor.
|
CfnApplication.Builder |
customComponents(List<? extends Object> customComponents)
Describes a custom component by grouping similar standalone instances to monitor.
|
CfnApplication.Builder |
cweMonitorEnabled(Boolean cweMonitorEnabled)
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as `instance terminated` , `failed deployment` , and others.
|
CfnApplication.Builder |
cweMonitorEnabled(IResolvable cweMonitorEnabled)
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as `instance terminated` , `failed deployment` , and others.
|
CfnApplication.Builder |
groupingType(String groupingType)
Application Insights can create applications based on a resource group or on an account.
|
CfnApplication.Builder |
logPatternSets(IResolvable logPatternSets)
The log pattern sets.
|
CfnApplication.Builder |
logPatternSets(List<? extends Object> logPatternSets)
The log pattern sets.
|
CfnApplication.Builder |
opsCenterEnabled(Boolean opsCenterEnabled)
Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.
|
CfnApplication.Builder |
opsCenterEnabled(IResolvable opsCenterEnabled)
Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.
|
CfnApplication.Builder |
opsItemSnsTopicArn(String opsItemSnsTopicArn)
The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.
|
CfnApplication.Builder |
resourceGroupName(String resourceGroupName)
The name of the resource group used for the application.
|
CfnApplication.Builder |
tags(List<? extends CfnTag> tags)
An array of `Tags` .
|
@Stability(value=Stable) public static CfnApplication.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnApplication.AlarmMetricProperty.Builder.@Stability(value=Stable) public CfnApplication.Builder resourceGroupName(String resourceGroupName)
resourceGroupName - The name of the resource group used for the application. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder autoConfigurationEnabled(Boolean autoConfigurationEnabled)
autoConfigurationEnabled - If set to `true` , the application components will be configured with the monitoring configuration recommended by Application Insights. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder autoConfigurationEnabled(IResolvable autoConfigurationEnabled)
autoConfigurationEnabled - If set to `true` , the application components will be configured with the monitoring configuration recommended by Application Insights. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder componentMonitoringSettings(IResolvable componentMonitoringSettings)
componentMonitoringSettings - The monitoring settings of the components. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder componentMonitoringSettings(List<? extends Object> componentMonitoringSettings)
componentMonitoringSettings - The monitoring settings of the components. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder customComponents(IResolvable customComponents)
customComponents - Describes a custom component by grouping similar standalone instances to monitor. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder customComponents(List<? extends Object> customComponents)
customComponents - Describes a custom component by grouping similar standalone instances to monitor. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder cweMonitorEnabled(Boolean cweMonitorEnabled)
cweMonitorEnabled - Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as `instance terminated` , `failed deployment` , and others. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder cweMonitorEnabled(IResolvable cweMonitorEnabled)
cweMonitorEnabled - Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as `instance terminated` , `failed deployment` , and others. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder groupingType(String groupingType)
To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED .
groupingType - Application Insights can create applications based on a resource group or on an account. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder logPatternSets(IResolvable logPatternSets)
logPatternSets - The log pattern sets. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder logPatternSets(List<? extends Object> logPatternSets)
logPatternSets - The log pattern sets. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder opsCenterEnabled(Boolean opsCenterEnabled)
opsCenterEnabled - Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder opsCenterEnabled(IResolvable opsCenterEnabled)
opsCenterEnabled - Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder opsItemSnsTopicArn(String opsItemSnsTopicArn)
opsItemSnsTopicArn - The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates. This parameter is required.this@Stability(value=Stable) public CfnApplication.Builder tags(List<? extends CfnTag> tags)
tags - An array of `Tags` . This parameter is required.this@Stability(value=Stable) public CfnApplication build()
build in interface software.amazon.jsii.Builder<CfnApplication>Copyright © 2022. All rights reserved.