@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.431Z") @Stability(value=Stable) public interface CfnApplicationProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationinsights.*;
CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
.resourceGroupName("resourceGroupName")
// the properties below are optional
.autoConfigurationEnabled(false)
.componentMonitoringSettings(List.of(ComponentMonitoringSettingProperty.builder()
.componentConfigurationMode("componentConfigurationMode")
.tier("tier")
// the properties below are optional
.componentArn("componentArn")
.componentName("componentName")
.customComponentConfiguration(ComponentConfigurationProperty.builder()
.configurationDetails(ConfigurationDetailsProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.alarms(List.of(AlarmProperty.builder()
.alarmName("alarmName")
// the properties below are optional
.severity("severity")
.build()))
.haClusterPrometheusExporter(HAClusterPrometheusExporterProperty.builder()
.prometheusPort("prometheusPort")
.build())
.hanaPrometheusExporter(HANAPrometheusExporterProperty.builder()
.agreeToInstallHanadbClient(false)
.hanaPort("hanaPort")
.hanaSecretName("hanaSecretName")
.hanasid("hanasid")
// the properties below are optional
.prometheusPort("prometheusPort")
.build())
.jmxPrometheusExporter(JMXPrometheusExporterProperty.builder()
.hostPort("hostPort")
.jmxurl("jmxurl")
.prometheusPort("prometheusPort")
.build())
.logs(List.of(LogProperty.builder()
.logType("logType")
// the properties below are optional
.encoding("encoding")
.logGroupName("logGroupName")
.logPath("logPath")
.patternSet("patternSet")
.build()))
.windowsEvents(List.of(WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
// the properties below are optional
.patternSet("patternSet")
.build()))
.build())
.subComponentTypeConfigurations(List.of(SubComponentTypeConfigurationProperty.builder()
.subComponentConfigurationDetails(SubComponentConfigurationDetailsProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.logs(List.of(LogProperty.builder()
.logType("logType")
// the properties below are optional
.encoding("encoding")
.logGroupName("logGroupName")
.logPath("logPath")
.patternSet("patternSet")
.build()))
.windowsEvents(List.of(WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
// the properties below are optional
.patternSet("patternSet")
.build()))
.build())
.subComponentType("subComponentType")
.build()))
.build())
.defaultOverwriteComponentConfiguration(ComponentConfigurationProperty.builder()
.configurationDetails(ConfigurationDetailsProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.alarms(List.of(AlarmProperty.builder()
.alarmName("alarmName")
// the properties below are optional
.severity("severity")
.build()))
.haClusterPrometheusExporter(HAClusterPrometheusExporterProperty.builder()
.prometheusPort("prometheusPort")
.build())
.hanaPrometheusExporter(HANAPrometheusExporterProperty.builder()
.agreeToInstallHanadbClient(false)
.hanaPort("hanaPort")
.hanaSecretName("hanaSecretName")
.hanasid("hanasid")
// the properties below are optional
.prometheusPort("prometheusPort")
.build())
.jmxPrometheusExporter(JMXPrometheusExporterProperty.builder()
.hostPort("hostPort")
.jmxurl("jmxurl")
.prometheusPort("prometheusPort")
.build())
.logs(List.of(LogProperty.builder()
.logType("logType")
// the properties below are optional
.encoding("encoding")
.logGroupName("logGroupName")
.logPath("logPath")
.patternSet("patternSet")
.build()))
.windowsEvents(List.of(WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
// the properties below are optional
.patternSet("patternSet")
.build()))
.build())
.subComponentTypeConfigurations(List.of(SubComponentTypeConfigurationProperty.builder()
.subComponentConfigurationDetails(SubComponentConfigurationDetailsProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.logs(List.of(LogProperty.builder()
.logType("logType")
// the properties below are optional
.encoding("encoding")
.logGroupName("logGroupName")
.logPath("logPath")
.patternSet("patternSet")
.build()))
.windowsEvents(List.of(WindowsEventProperty.builder()
.eventLevels(List.of("eventLevels"))
.eventName("eventName")
.logGroupName("logGroupName")
// the properties below are optional
.patternSet("patternSet")
.build()))
.build())
.subComponentType("subComponentType")
.build()))
.build())
.build()))
.customComponents(List.of(CustomComponentProperty.builder()
.componentName("componentName")
.resourceList(List.of("resourceList"))
.build()))
.cweMonitorEnabled(false)
.groupingType("groupingType")
.logPatternSets(List.of(LogPatternSetProperty.builder()
.logPatterns(List.of(LogPatternProperty.builder()
.pattern("pattern")
.patternName("patternName")
.rank(123)
.build()))
.patternSetName("patternSetName")
.build()))
.opsCenterEnabled(false)
.opsItemSnsTopicArn("opsItemSnsTopicArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplicationProps.Builder
A builder for
CfnApplicationProps |
static class |
CfnApplicationProps.Jsii$Proxy
An implementation for
CfnApplicationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplicationProps.Builder |
builder() |
default Object |
getAutoConfigurationEnabled()
If set to `true` , the application components will be configured with the monitoring configuration recommended by Application Insights.
|
default Object |
getComponentMonitoringSettings()
The monitoring settings of the components.
|
default Object |
getCustomComponents()
Describes a custom component by grouping similar standalone instances to monitor.
|
default Object |
getCweMonitorEnabled()
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as `instance terminated` , `failed deployment` , and others.
|
default String |
getGroupingType()
`AWS::ApplicationInsights::Application.GroupingType`.
|
default Object |
getLogPatternSets()
The log pattern sets.
|
default Object |
getOpsCenterEnabled()
Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.
|
default String |
getOpsItemSnsTopicArn()
The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.
|
String |
getResourceGroupName()
The name of the resource group used for the application.
|
default List<CfnTag> |
getTags()
An array of `Tags` .
|
@Stability(value=Stable) @NotNull String getResourceGroupName()
@Stability(value=Stable) @Nullable default Object getAutoConfigurationEnabled()
@Stability(value=Stable) @Nullable default Object getComponentMonitoringSettings()
@Stability(value=Stable) @Nullable default Object getCustomComponents()
@Stability(value=Stable) @Nullable default Object getCweMonitorEnabled()
@Stability(value=Stable) @Nullable default String getGroupingType()
@Stability(value=Stable) @Nullable default Object getLogPatternSets()
@Stability(value=Stable) @Nullable default Object getOpsCenterEnabled()
@Stability(value=Stable) @Nullable default String getOpsItemSnsTopicArn()
@Stability(value=Stable) static CfnApplicationProps.Builder builder()
CfnApplicationProps.Builder of CfnApplicationPropsCopyright © 2022. All rights reserved.