@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.700Z") @Stability(value=Stable) public class CfnFirewallRuleGroupAssociation extends CfnResource implements IInspectable
An association between a firewall rule group and a VPC, which enables DNS filtering for the VPC.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53resolver.*;
CfnFirewallRuleGroupAssociation cfnFirewallRuleGroupAssociation = CfnFirewallRuleGroupAssociation.Builder.create(this, "MyCfnFirewallRuleGroupAssociation")
.firewallRuleGroupId("firewallRuleGroupId")
.priority(123)
.vpcId("vpcId")
// the properties below are optional
.mutationProtection("mutationProtection")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnFirewallRuleGroupAssociation.Builder
A fluent builder for
CfnFirewallRuleGroupAssociation. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnFirewallRuleGroupAssociation(software.constructs.Construct scope,
String id,
CfnFirewallRuleGroupAssociationProps props)
Create a new `AWS::Route53Resolver::FirewallRuleGroupAssociation`.
|
protected |
CfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the firewall rule group association.
|
String |
getAttrCreationTime()
The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
|
String |
getAttrCreatorRequestId()
A unique string defined by you to identify the request.
|
String |
getAttrId()
The identifier for the association.
|
String |
getAttrManagedOwnerName()
The owner of the association, used only for associations that are not managed by you.
|
String |
getAttrModificationTime()
The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
|
String |
getAttrStatus()
The current status of the association.
|
String |
getAttrStatusMessage()
Additional information about the status of the response, if available.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getFirewallRuleGroupId()
The unique identifier of the firewall rule group.
|
String |
getMutationProtection()
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
|
String |
getName()
The name of the association.
|
Number |
getPriority()
The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
|
TagManager |
getTags()
A list of the tag keys and values that you want to associate with the rule group.
|
String |
getVpcId()
The unique identifier of the VPC that is associated with the rule group.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setFirewallRuleGroupId(String value)
The unique identifier of the firewall rule group.
|
void |
setMutationProtection(String value)
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
|
void |
setName(String value)
The name of the association.
|
void |
setPriority(Number value)
The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC.
|
void |
setVpcId(String value)
The unique identifier of the VPC that is associated with the rule group.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnFirewallRuleGroupAssociation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnFirewallRuleGroupAssociationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreationTime()
@Stability(value=Stable) @NotNull public String getAttrCreatorRequestId()
This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull public String getAttrManagedOwnerName()
If you use AWS Firewall Manager to manage your firewallls from DNS Firewall, then this reports Firewall Manager as the managed owner.
@Stability(value=Stable) @NotNull public String getAttrModificationTime()
@Stability(value=Stable) @NotNull public String getAttrStatus()
@Stability(value=Stable) @NotNull public String getAttrStatusMessage()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getFirewallRuleGroupId()
@Stability(value=Stable)
public void setFirewallRuleGroupId(@NotNull
String value)
@Stability(value=Stable) @NotNull public Number getPriority()
DNS Firewall filters VPC traffic starting from rule group with the lowest numeric priority setting.
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.
The allowed values for Priority are between 100 and 9900 (excluding 100 and 9900).
@Stability(value=Stable)
public void setPriority(@NotNull
Number value)
DNS Firewall filters VPC traffic starting from rule group with the lowest numeric priority setting.
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.
The allowed values for Priority are between 100 and 9900 (excluding 100 and 9900).
@Stability(value=Stable) @NotNull public String getVpcId()
@Stability(value=Stable)
public void setVpcId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getMutationProtection()
@Stability(value=Stable)
public void setMutationProtection(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
Copyright © 2022. All rights reserved.