UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

113 lines (112 loc) 4 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource schema for AWS::SecurityHub::AutomationRuleV2 */ export declare class AutomationRuleV2 extends pulumi.CustomResource { /** * Get an existing AutomationRuleV2 resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AutomationRuleV2; /** * Returns true if the given object is an instance of AutomationRuleV2. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AutomationRuleV2; /** * A list of actions to be performed when the rule criteria is met */ readonly actions: pulumi.Output<outputs.securityhub.AutomationRuleV2AutomationRulesActionV2[]>; /** * The timestamp when the V2 automation rule was created. */ readonly createdAt: pulumi.Output<string>; /** * The filtering type and configuration of the automation rule. */ readonly criteria: pulumi.Output<outputs.securityhub.AutomationRuleV2Criteria>; /** * A description of the automation rule */ readonly description: pulumi.Output<string>; /** * The ARN of the automation rule */ readonly ruleArn: pulumi.Output<string>; /** * The ID of the automation rule */ readonly ruleId: pulumi.Output<string>; /** * The name of the automation rule */ readonly ruleName: pulumi.Output<string>; /** * The value for the rule priority */ readonly ruleOrder: pulumi.Output<number>; /** * The status of the automation rule */ readonly ruleStatus: pulumi.Output<enums.securityhub.AutomationRuleV2RuleStatus | undefined>; /** * A list of key-value pairs associated with the V2 automation rule. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The timestamp when the V2 automation rule was updated. */ readonly updatedAt: pulumi.Output<string>; /** * Create a AutomationRuleV2 resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AutomationRuleV2Args, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AutomationRuleV2 resource. */ export interface AutomationRuleV2Args { /** * A list of actions to be performed when the rule criteria is met */ actions: pulumi.Input<pulumi.Input<inputs.securityhub.AutomationRuleV2AutomationRulesActionV2Args>[]>; /** * The filtering type and configuration of the automation rule. */ criteria: pulumi.Input<inputs.securityhub.AutomationRuleV2CriteriaArgs>; /** * A description of the automation rule */ description: pulumi.Input<string>; /** * The name of the automation rule */ ruleName: pulumi.Input<string>; /** * The value for the rule priority */ ruleOrder: pulumi.Input<number>; /** * The status of the automation rule */ ruleStatus?: pulumi.Input<enums.securityhub.AutomationRuleV2RuleStatus>; /** * A list of key-value pairs associated with the V2 automation rule. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }