@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:15.884Z") @Stability(value=Stable) public class CfnApplication extends CfnResource implements IInspectable
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.*;
CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication")
.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()))
.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()))
.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)
.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 | Class and Description |
|---|---|
static interface |
CfnApplication.AlarmMetricProperty
Example:
|
static interface |
CfnApplication.AlarmProperty
Example:
|
static class |
CfnApplication.Builder
A fluent builder for
CfnApplication. |
static interface |
CfnApplication.ComponentConfigurationProperty
Example:
|
static interface |
CfnApplication.ComponentMonitoringSettingProperty
Example:
|
static interface |
CfnApplication.ConfigurationDetailsProperty
Example:
|
static interface |
CfnApplication.CustomComponentProperty
Example:
|
static interface |
CfnApplication.JMXPrometheusExporterProperty
Example:
|
static interface |
CfnApplication.LogPatternProperty
Example:
|
static interface |
CfnApplication.LogPatternSetProperty
Example:
|
static interface |
CfnApplication.LogProperty
Example:
|
static interface |
CfnApplication.SubComponentConfigurationDetailsProperty
Example:
|
static interface |
CfnApplication.SubComponentTypeConfigurationProperty
Example:
|
static interface |
CfnApplication.WindowsEventProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnApplication(software.constructs.Construct scope,
String id,
CfnApplicationProps props)
Create a new `AWS::ApplicationInsights::Application`.
|
protected |
CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrApplicationArn() |
Object |
getAutoConfigurationEnabled()
`AWS::ApplicationInsights::Application.AutoConfigurationEnabled`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getComponentMonitoringSettings()
`AWS::ApplicationInsights::Application.ComponentMonitoringSettings`.
|
Object |
getCustomComponents()
`AWS::ApplicationInsights::Application.CustomComponents`.
|
Object |
getCweMonitorEnabled()
`AWS::ApplicationInsights::Application.CWEMonitorEnabled`.
|
Object |
getLogPatternSets()
`AWS::ApplicationInsights::Application.LogPatternSets`.
|
Object |
getOpsCenterEnabled()
`AWS::ApplicationInsights::Application.OpsCenterEnabled`.
|
String |
getOpsItemSnsTopicArn()
`AWS::ApplicationInsights::Application.OpsItemSNSTopicArn`.
|
String |
getResourceGroupName()
`AWS::ApplicationInsights::Application.ResourceGroupName`.
|
TagManager |
getTags()
`AWS::ApplicationInsights::Application.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAutoConfigurationEnabled(Boolean value)
`AWS::ApplicationInsights::Application.AutoConfigurationEnabled`.
|
void |
setAutoConfigurationEnabled(IResolvable value)
`AWS::ApplicationInsights::Application.AutoConfigurationEnabled`.
|
void |
setComponentMonitoringSettings(IResolvable value)
`AWS::ApplicationInsights::Application.ComponentMonitoringSettings`.
|
void |
setComponentMonitoringSettings(List<Object> value)
`AWS::ApplicationInsights::Application.ComponentMonitoringSettings`.
|
void |
setCustomComponents(IResolvable value)
`AWS::ApplicationInsights::Application.CustomComponents`.
|
void |
setCustomComponents(List<Object> value)
`AWS::ApplicationInsights::Application.CustomComponents`.
|
void |
setCweMonitorEnabled(Boolean value)
`AWS::ApplicationInsights::Application.CWEMonitorEnabled`.
|
void |
setCweMonitorEnabled(IResolvable value)
`AWS::ApplicationInsights::Application.CWEMonitorEnabled`.
|
void |
setLogPatternSets(IResolvable value)
`AWS::ApplicationInsights::Application.LogPatternSets`.
|
void |
setLogPatternSets(List<Object> value)
`AWS::ApplicationInsights::Application.LogPatternSets`.
|
void |
setOpsCenterEnabled(Boolean value)
`AWS::ApplicationInsights::Application.OpsCenterEnabled`.
|
void |
setOpsCenterEnabled(IResolvable value)
`AWS::ApplicationInsights::Application.OpsCenterEnabled`.
|
void |
setOpsItemSnsTopicArn(String value)
`AWS::ApplicationInsights::Application.OpsItemSNSTopicArn`.
|
void |
setResourceGroupName(String value)
`AWS::ApplicationInsights::Application.ResourceGroupName`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnApplication(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnApplication(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnApplicationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrApplicationArn()
@Stability(value=Stable) @Nullable public Object getAutoConfigurationEnabled()
@Stability(value=Stable)
public void setAutoConfigurationEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setAutoConfigurationEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public Object getComponentMonitoringSettings()
@Stability(value=Stable)
public void setComponentMonitoringSettings(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setComponentMonitoringSettings(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getCustomComponents()
@Stability(value=Stable)
public void setCustomComponents(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setCustomComponents(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getCweMonitorEnabled()
@Stability(value=Stable)
public void setCweMonitorEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setCweMonitorEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getLogPatternSets()
@Stability(value=Stable)
public void setLogPatternSets(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setLogPatternSets(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getOpsCenterEnabled()
@Stability(value=Stable)
public void setOpsCenterEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setOpsCenterEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getOpsItemSnsTopicArn()
@Stability(value=Stable)
public void setOpsItemSnsTopicArn(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getResourceGroupName()
@Stability(value=Stable)
public void setResourceGroupName(@NotNull
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.