@aws-cdk_aws-route53resolver-alpha.FirewallRuleGroupAssociation

class FirewallRuleGroupAssociation (construct) ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Route53Resolver.Alpha.FirewallRuleGroupAssociation
Gogithub.com/aws/aws-cdk-go/awscdkroute53resolveralpha/v2#FirewallRuleGroupAssociation
Javasoftware.amazon.awscdk.services.route53resolver.alpha.FirewallRuleGroupAssociation
Pythonaws_cdk.aws_route53resolver_alpha.FirewallRuleGroupAssociation
TypeScript (source)@aws-cdk/aws-route53resolver-alpha ยป FirewallRuleGroupAssociation

Implements IConstruct, IDependable, IResource

A Firewall Rule Group Association.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as route53resolver_alpha from '@aws-cdk/aws-route53resolver-alpha';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';

declare const firewallRuleGroup: route53resolver_alpha.FirewallRuleGroup;
declare const vpc: ec2.Vpc;
const firewallRuleGroupAssociation = new route53resolver_alpha.FirewallRuleGroupAssociation(this, 'MyFirewallRuleGroupAssociation', {
  firewallRuleGroup: firewallRuleGroup,
  priority: 123,
  vpc: vpc,

  // the properties below are optional
  mutationProtection: false,
  name: 'name',
});

Initializer

new FirewallRuleGroupAssociation(scope: Construct, id: string, props: FirewallRuleGroupAssociationProps)

Parameters

  • scope Construct
  • id string
  • props FirewallRuleGroupAssociationProps

Construct Props

NameTypeDescription
firewallRuleGroup๐Ÿ”นIFirewallRuleGroupThe firewall rule group which must be associated.
priority๐Ÿ”นnumberThe setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
vpc๐Ÿ”นIVpcThe VPC that to associate with the rule group.
mutationProtection?๐Ÿ”นbooleanIf enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
name?๐Ÿ”นstringThe name of the association.

firewallRuleGroup๐Ÿ”น

Type: IFirewallRuleGroup

The firewall rule group which must be associated.


priority๐Ÿ”น

Type: number

The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.

DNS Firewall filters VPC traffic starting from rule group with the lowest numeric priority setting.

This value must be greater than 100 and less than 9,000


vpc๐Ÿ”น

Type: IVpc

The VPC that to associate with the rule group.


mutationProtection?๐Ÿ”น

Type: boolean (optional, default: true)

If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.


name?๐Ÿ”น

Type: string (optional, default: a CloudFormation generated name)

The name of the association.

Properties

NameTypeDescription
env๐Ÿ”นResourceEnvironmentThe environment this resource belongs to.
firewallRuleGroupAssociationArn๐Ÿ”นstringThe ARN (Amazon Resource Name) of the association.
firewallRuleGroupAssociationCreationTime๐Ÿ”นstringThe date and time that the association was created.
firewallRuleGroupAssociationCreatorRequestId๐Ÿ”นstringThe creator request ID.
firewallRuleGroupAssociationId๐Ÿ”นstringThe ID of the association.
firewallRuleGroupAssociationManagedOwnerName๐Ÿ”นstringThe owner of the association, used only for lists that are not managed by you.
firewallRuleGroupAssociationModificationTime๐Ÿ”นstringThe date and time that the association was last modified.
firewallRuleGroupAssociationStatus๐Ÿ”นstringThe status of the association.
firewallRuleGroupAssociationStatusMessage๐Ÿ”นstringAdditional information about the status of the association.
node๐Ÿ”นNodeThe tree node.
stack๐Ÿ”นStackThe stack in which this resource is defined.

env๐Ÿ”น

Type: ResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


firewallRuleGroupAssociationArn๐Ÿ”น

Type: string

The ARN (Amazon Resource Name) of the association.


firewallRuleGroupAssociationCreationTime๐Ÿ”น

Type: string

The date and time that the association was created.


firewallRuleGroupAssociationCreatorRequestId๐Ÿ”น

Type: string

The creator request ID.


firewallRuleGroupAssociationId๐Ÿ”น

Type: string

The ID of the association.


firewallRuleGroupAssociationManagedOwnerName๐Ÿ”น

Type: string

The owner of the association, used only for lists that are not managed by you.

If you use AWS Firewall Manager to manage your firewallls from DNS Firewall, then this reports Firewall Manager as the managed owner.


firewallRuleGroupAssociationModificationTime๐Ÿ”น

Type: string

The date and time that the association was last modified.


firewallRuleGroupAssociationStatus๐Ÿ”น

Type: string

The status of the association.


firewallRuleGroupAssociationStatusMessage๐Ÿ”น

Type: string

Additional information about the status of the association.


node๐Ÿ”น

Type: Node

The tree node.


stack๐Ÿ”น

Type: Stack

The stack in which this resource is defined.

Methods

NameDescription
applyRemovalPolicy(policy)๐Ÿ”นApply the given removal policy to this resource.
toString()๐Ÿ”นReturns a string representation of this construct.

applyRemovalPolicy(policy)๐Ÿ”น

public applyRemovalPolicy(policy: RemovalPolicy): void

Parameters

  • policy RemovalPolicy

Apply the given removal policy to this resource.

The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.

The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).


toString()๐Ÿ”น

public toString(): string

Returns

  • string

Returns a string representation of this construct.