Class CfnApplicationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationinsights.CfnApplicationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin>
- Enclosing class:
CfnApplicationPropsMixin
@Stability(Stable)
public static final class CfnApplicationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin>
A fluent builder for
CfnApplicationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionattachMissingPermission(Boolean attachMissingPermission) If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.attachMissingPermission(IResolvable attachMissingPermission) If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.autoConfigurationEnabled(Boolean autoConfigurationEnabled) If set totrue, the application components will be configured with the monitoring configuration recommended by Application Insights.autoConfigurationEnabled(IResolvable autoConfigurationEnabled) If set totrue, the application components will be configured with the monitoring configuration recommended by Application Insights.build()componentMonitoringSettings(List<? extends Object> componentMonitoringSettings) The monitoring settings of the components.componentMonitoringSettings(IResolvable componentMonitoringSettings) The monitoring settings of the components.create()create(CfnPropertyMixinOptions options) customComponents(List<? extends Object> customComponents) Describes a custom component by grouping similar standalone instances to monitor.customComponents(IResolvable customComponents) Describes a custom component by grouping similar standalone instances to monitor.cweMonitorEnabled(Boolean cweMonitorEnabled) Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated,failed deployment, and others.cweMonitorEnabled(IResolvable cweMonitorEnabled) Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated,failed deployment, and others.groupingType(String groupingType) Application Insights can create applications based on a resource group or on an account.logPatternSets(List<? extends Object> logPatternSets) The log pattern sets.logPatternSets(IResolvable logPatternSets) The log pattern sets.opsCenterEnabled(Boolean opsCenterEnabled) Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.opsCenterEnabled(IResolvable opsCenterEnabled) Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.opsItemSnsTopicArn(String opsItemSnsTopicArn) The SNS topic provided to Application Insights that is associated with the created OpsItems to receive SNS notifications for opsItem updates.resourceGroupName(String resourceGroupName) The name of the resource group used for the application.snsNotificationArn(String snsNotificationArn) The SNS topic ARN that is associated with SNS notifications for updates or issues.An array ofTags.
-
Method Details
-
create
@Stability(Stable) public static CfnApplicationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnApplicationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnApplicationPropsMixin.Builder.
-
attachMissingPermission
@Stability(Stable) public CfnApplicationPropsMixin.Builder attachMissingPermission(Boolean attachMissingPermission) If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.- Parameters:
attachMissingPermission- If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing. This parameter is required.- Returns:
this- See Also:
-
attachMissingPermission
@Stability(Stable) public CfnApplicationPropsMixin.Builder attachMissingPermission(IResolvable attachMissingPermission) If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.- Parameters:
attachMissingPermission- If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing. This parameter is required.- Returns:
this- See Also:
-
autoConfigurationEnabled
@Stability(Stable) public CfnApplicationPropsMixin.Builder autoConfigurationEnabled(Boolean autoConfigurationEnabled) If set totrue, the application components will be configured with the monitoring configuration recommended by Application Insights.- Parameters:
autoConfigurationEnabled- If set totrue, the application components will be configured with the monitoring configuration recommended by Application Insights. This parameter is required.- Returns:
this- See Also:
-
autoConfigurationEnabled
@Stability(Stable) public CfnApplicationPropsMixin.Builder autoConfigurationEnabled(IResolvable autoConfigurationEnabled) If set totrue, the application components will be configured with the monitoring configuration recommended by Application Insights.- Parameters:
autoConfigurationEnabled- If set totrue, the application components will be configured with the monitoring configuration recommended by Application Insights. This parameter is required.- Returns:
this- See Also:
-
componentMonitoringSettings
@Stability(Stable) public CfnApplicationPropsMixin.Builder componentMonitoringSettings(IResolvable componentMonitoringSettings) The monitoring settings of the components.Not required to set up default monitoring for all components. To set up default monitoring for all components, set
AutoConfigurationEnabledtotrue.- Parameters:
componentMonitoringSettings- The monitoring settings of the components. This parameter is required.- Returns:
this- See Also:
-
componentMonitoringSettings
@Stability(Stable) public CfnApplicationPropsMixin.Builder componentMonitoringSettings(List<? extends Object> componentMonitoringSettings) The monitoring settings of the components.Not required to set up default monitoring for all components. To set up default monitoring for all components, set
AutoConfigurationEnabledtotrue.- Parameters:
componentMonitoringSettings- The monitoring settings of the components. This parameter is required.- Returns:
this- See Also:
-
customComponents
@Stability(Stable) public CfnApplicationPropsMixin.Builder customComponents(IResolvable customComponents) Describes a custom component by grouping similar standalone instances to monitor.- Parameters:
customComponents- Describes a custom component by grouping similar standalone instances to monitor. This parameter is required.- Returns:
this- See Also:
-
customComponents
@Stability(Stable) public CfnApplicationPropsMixin.Builder customComponents(List<? extends Object> customComponents) Describes a custom component by grouping similar standalone instances to monitor.- Parameters:
customComponents- Describes a custom component by grouping similar standalone instances to monitor. This parameter is required.- Returns:
this- See Also:
-
cweMonitorEnabled
@Stability(Stable) public CfnApplicationPropsMixin.Builder cweMonitorEnabled(Boolean cweMonitorEnabled) Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated,failed deployment, and others.- Parameters:
cweMonitorEnabled- Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated,failed deployment, and others. This parameter is required.- Returns:
this- See Also:
-
cweMonitorEnabled
@Stability(Stable) public CfnApplicationPropsMixin.Builder cweMonitorEnabled(IResolvable cweMonitorEnabled) Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated,failed deployment, and others.- Parameters:
cweMonitorEnabled- Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated,failed deployment, and others. This parameter is required.- Returns:
this- See Also:
-
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.- Parameters:
groupingType- Application Insights can create applications based on a resource group or on an account. This parameter is required.- Returns:
this- See Also:
-
logPatternSets
@Stability(Stable) public CfnApplicationPropsMixin.Builder logPatternSets(IResolvable logPatternSets) The log pattern sets.- Parameters:
logPatternSets- The log pattern sets. This parameter is required.- Returns:
this- See Also:
-
logPatternSets
@Stability(Stable) public CfnApplicationPropsMixin.Builder logPatternSets(List<? extends Object> logPatternSets) The log pattern sets.- Parameters:
logPatternSets- The log pattern sets. This parameter is required.- Returns:
this- See Also:
-
opsCenterEnabled
@Stability(Stable) public CfnApplicationPropsMixin.Builder opsCenterEnabled(Boolean opsCenterEnabled) Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.- Parameters:
opsCenterEnabled- Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application. This parameter is required.- Returns:
this- See Also:
-
opsCenterEnabled
@Stability(Stable) public CfnApplicationPropsMixin.Builder opsCenterEnabled(IResolvable opsCenterEnabled) Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application.- Parameters:
opsCenterEnabled- Indicates whether Application Insights will create OpsItems for any problem that is detected by Application Insights for an application. This parameter is required.- Returns:
this- See Also:
-
opsItemSnsTopicArn
@Stability(Stable) public CfnApplicationPropsMixin.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.- Parameters:
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.- Returns:
this- See Also:
-
resourceGroupName
@Stability(Stable) public CfnApplicationPropsMixin.Builder resourceGroupName(String resourceGroupName) The name of the resource group used for the application.- Parameters:
resourceGroupName- The name of the resource group used for the application. This parameter is required.- Returns:
this- See Also:
-
snsNotificationArn
@Stability(Stable) public CfnApplicationPropsMixin.Builder snsNotificationArn(String snsNotificationArn) The SNS topic ARN that is associated with SNS notifications for updates or issues.- Parameters:
snsNotificationArn- The SNS topic ARN that is associated with SNS notifications for updates or issues. This parameter is required.- Returns:
this- See Also:
-
tags
An array ofTags.- Parameters:
tags- An array ofTags. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin>- Returns:
- a newly built instance of
CfnApplicationPropsMixin.
-