public static final class CfnApplication.Builder
extends java.lang.Object
CfnApplication
.Modifier and Type | Method and Description |
---|---|
CfnApplication.Builder |
autoConfigurationEnabled(java.lang.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(java.util.List<? extends java.lang.Object> componentMonitoringSettings)
The monitoring settings of the components.
|
static CfnApplication.Builder |
create(Construct scope,
java.lang.String id) |
CfnApplication.Builder |
customComponents(IResolvable customComponents)
Describes a custom component by grouping similar standalone instances to monitor.
|
CfnApplication.Builder |
customComponents(java.util.List<? extends java.lang.Object> customComponents)
Describes a custom component by grouping similar standalone instances to monitor.
|
CfnApplication.Builder |
cweMonitorEnabled(java.lang.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(java.lang.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(java.util.List<? extends java.lang.Object> logPatternSets)
The log pattern sets.
|
CfnApplication.Builder |
opsCenterEnabled(java.lang.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(java.lang.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(java.lang.String resourceGroupName)
The name of the resource group used for the application.
|
CfnApplication.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of `Tags` .
|
public static CfnApplication.Builder create(Construct scope, java.lang.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
.public CfnApplication.Builder resourceGroupName(java.lang.String resourceGroupName)
resourceGroupName
- The name of the resource group used for the application. This parameter is required.this
public CfnApplication.Builder autoConfigurationEnabled(java.lang.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
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
public CfnApplication.Builder componentMonitoringSettings(IResolvable componentMonitoringSettings)
componentMonitoringSettings
- The monitoring settings of the components. This parameter is required.this
public CfnApplication.Builder componentMonitoringSettings(java.util.List<? extends java.lang.Object> componentMonitoringSettings)
componentMonitoringSettings
- The monitoring settings of the components. This parameter is required.this
public CfnApplication.Builder customComponents(IResolvable customComponents)
customComponents
- Describes a custom component by grouping similar standalone instances to monitor. This parameter is required.this
public CfnApplication.Builder customComponents(java.util.List<? extends java.lang.Object> customComponents)
customComponents
- Describes a custom component by grouping similar standalone instances to monitor. This parameter is required.this
public CfnApplication.Builder cweMonitorEnabled(java.lang.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
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
public CfnApplication.Builder groupingType(java.lang.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
public CfnApplication.Builder logPatternSets(IResolvable logPatternSets)
logPatternSets
- The log pattern sets. This parameter is required.this
public CfnApplication.Builder logPatternSets(java.util.List<? extends java.lang.Object> logPatternSets)
logPatternSets
- The log pattern sets. This parameter is required.this
public CfnApplication.Builder opsCenterEnabled(java.lang.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
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
public CfnApplication.Builder opsItemSnsTopicArn(java.lang.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
public CfnApplication.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- An array of `Tags` . This parameter is required.this
public CfnApplication build()