UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

173 lines (172 loc) 7.98 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a Route 53 Resolver DNS Firewall rule group association resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.route53.ResolverFirewallRuleGroup("example", {name: "example"}); * const exampleResolverFirewallRuleGroupAssociation = new aws.route53.ResolverFirewallRuleGroupAssociation("example", { * name: "example", * firewallRuleGroupId: example.id, * priority: 100, * vpcId: exampleAwsVpc.id, * }); * ``` * * ## Import * * Using `pulumi import`, import Route 53 Resolver DNS Firewall rule group associations using the Route 53 Resolver DNS Firewall rule group association ID. For example: * * ```sh * $ pulumi import aws:route53/resolverFirewallRuleGroupAssociation:ResolverFirewallRuleGroupAssociation example rslvr-frgassoc-0123456789abcdef * ``` */ export declare class ResolverFirewallRuleGroupAssociation extends pulumi.CustomResource { /** * Get an existing ResolverFirewallRuleGroupAssociation 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResolverFirewallRuleGroupAssociationState, opts?: pulumi.CustomResourceOptions): ResolverFirewallRuleGroupAssociation; /** * Returns true if the given object is an instance of ResolverFirewallRuleGroupAssociation. 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 ResolverFirewallRuleGroupAssociation; /** * The ARN (Amazon Resource Name) of the firewall rule group association. */ readonly arn: pulumi.Output<string>; /** * The unique identifier of the firewall rule group. */ readonly firewallRuleGroupId: pulumi.Output<string>; /** * If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. Valid values: `ENABLED`, `DISABLED`. */ readonly mutationProtection: pulumi.Output<string>; /** * A name that lets you identify the rule group association, to manage and use it. */ readonly name: pulumi.Output<string>; /** * The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting. */ readonly priority: pulumi.Output<number>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output<string>; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * The unique identifier of the VPC that you want to associate with the rule group. */ readonly vpcId: pulumi.Output<string>; /** * Create a ResolverFirewallRuleGroupAssociation 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: ResolverFirewallRuleGroupAssociationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResolverFirewallRuleGroupAssociation resources. */ export interface ResolverFirewallRuleGroupAssociationState { /** * The ARN (Amazon Resource Name) of the firewall rule group association. */ arn?: pulumi.Input<string>; /** * The unique identifier of the firewall rule group. */ firewallRuleGroupId?: pulumi.Input<string>; /** * If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. Valid values: `ENABLED`, `DISABLED`. */ mutationProtection?: pulumi.Input<string>; /** * A name that lets you identify the rule group association, to manage and use it. */ name?: pulumi.Input<string>; /** * The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting. */ priority?: pulumi.Input<number>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The unique identifier of the VPC that you want to associate with the rule group. */ vpcId?: pulumi.Input<string>; } /** * The set of arguments for constructing a ResolverFirewallRuleGroupAssociation resource. */ export interface ResolverFirewallRuleGroupAssociationArgs { /** * The unique identifier of the firewall rule group. */ firewallRuleGroupId: pulumi.Input<string>; /** * If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. Valid values: `ENABLED`, `DISABLED`. */ mutationProtection?: pulumi.Input<string>; /** * A name that lets you identify the rule group association, to manage and use it. */ name?: pulumi.Input<string>; /** * The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting. */ priority: pulumi.Input<number>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The unique identifier of the VPC that you want to associate with the rule group. */ vpcId: pulumi.Input<string>; }