@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:29.454Z") 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 . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnFirewallRuleGroupAssociation(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrArn()
The Amazon Resource Name (ARN) of the firewall rule group association.
|
java.lang.String |
getAttrCreationTime()
The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
|
java.lang.String |
getAttrCreatorRequestId()
A unique string defined by you to identify the request.
|
java.lang.String |
getAttrId()
The identifier for the association.
|
java.lang.String |
getAttrManagedOwnerName()
The owner of the association, used only for associations that are not managed by you.
|
java.lang.String |
getAttrModificationTime()
The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
|
java.lang.String |
getAttrStatus()
The current status of the association.
|
java.lang.String |
getAttrStatusMessage()
Additional information about the status of the response, if available.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getFirewallRuleGroupId()
The unique identifier of the firewall rule group.
|
java.lang.String |
getMutationProtection()
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
|
java.lang.String |
getName()
The name of the association.
|
java.lang.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.
|
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setFirewallRuleGroupId(java.lang.String value)
The unique identifier of the firewall rule group.
|
void |
setMutationProtection(java.lang.String value)
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
|
void |
setName(java.lang.String value)
The name of the association.
|
void |
setPriority(java.lang.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(java.lang.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, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFirewallRuleGroupAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnFirewallRuleGroupAssociation(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.String getAttrCreationTime()
public java.lang.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.
public java.lang.String getAttrId()
public java.lang.String getAttrManagedOwnerName()
If you use AWS Firewall Manager to manage your firewallls from DNS Firewall, then this reports Firewall Manager as the managed owner.
public java.lang.String getAttrModificationTime()
public java.lang.String getAttrStatus()
public java.lang.String getAttrStatusMessage()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getFirewallRuleGroupId()
public void setFirewallRuleGroupId(java.lang.String value)
public java.lang.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).
public void setPriority(java.lang.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).
public java.lang.String getVpcId()
public void setVpcId(java.lang.String value)
public java.lang.String getMutationProtection()
public void setMutationProtection(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)