ContributorManagedInsightRuleArgs

data class ContributorManagedInsightRuleArgs(val resourceArn: Output<String>? = null, val state: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val templateName: Output<String>? = null) : ConvertibleToJava<ContributorManagedInsightRuleArgs>

Resource for managing an AWS CloudWatch Contributor Managed Insight Rule.

Example Usage

Basic Usage

resources:
example:
type: aws:cloudwatch:ContributorManagedInsightRule
properties:
resourceArn: ${test.arn}
templateName: VpcEndpointService-BytesByEndpointId-v1
ruleState: DISABLED

Import

Using pulumi import, import CloudWatch Contributor Managed Insight Rule using the resource_arn. For example:

$ pulumi import aws:cloudwatch/contributorManagedInsightRule:ContributorManagedInsightRule example contributor_managed_insight_rule-id-12345678

Constructors

Link copied to clipboard
constructor(resourceArn: Output<String>? = null, state: Output<String>? = null, tags: Output<Map<String, String>>? = null, templateName: Output<String>? = null)

Properties

Link copied to clipboard
val resourceArn: Output<String>? = null

ARN of an Amazon Web Services resource that has managed Contributor Insights rules.

Link copied to clipboard
val state: Output<String>? = null
Link copied to clipboard
val tags: Output<Map<String, String>>? = null
Link copied to clipboard
val templateName: Output<String>? = null

Template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules. The following arguments are optional:

Functions

Link copied to clipboard
open override fun toJava(): ContributorManagedInsightRuleArgs