Route53ResolvedIPValidationProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const route53ResolvedIPValidationProperty: networkfirewall.CfnFirewallPolicy.Route53ResolvedIPValidationProperty = {
action: 'action',
dnsExpiryExceptionPolicy: 'dnsExpiryExceptionPolicy',
dnsFirewallRuleGroupId: 'dnsFirewallRuleGroupId',
// the properties below are optional
bypassDestinationValidationIpRanges: [{
addressDefinition: 'addressDefinition',
}],
sourceIpRanges: [{
addressDefinition: 'addressDefinition',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkfirewall as networkfirewall
route53_resolved_ip_validation_property = networkfirewall.CfnFirewallPolicy.Route53ResolvedIPValidationProperty(
action="action",
dns_expiry_exception_policy="dnsExpiryExceptionPolicy",
dns_firewall_rule_group_id="dnsFirewallRuleGroupId",
# the properties below are optional
bypass_destination_validation_ip_ranges=[networkfirewall.CfnFirewallPolicy.AddressProperty(
address_definition="addressDefinition"
)],
source_ip_ranges=[networkfirewall.CfnFirewallPolicy.AddressProperty(
address_definition="addressDefinition"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkfirewall.*;
Route53ResolvedIPValidationProperty route53ResolvedIPValidationProperty = Route53ResolvedIPValidationProperty.builder()
.action("action")
.dnsExpiryExceptionPolicy("dnsExpiryExceptionPolicy")
.dnsFirewallRuleGroupId("dnsFirewallRuleGroupId")
// the properties below are optional
.bypassDestinationValidationIpRanges(List.of(AddressProperty.builder()
.addressDefinition("addressDefinition")
.build()))
.sourceIpRanges(List.of(AddressProperty.builder()
.addressDefinition("addressDefinition")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkFirewall;
var route53ResolvedIPValidationProperty = new Route53ResolvedIPValidationProperty {
Action = "action",
DnsExpiryExceptionPolicy = "dnsExpiryExceptionPolicy",
DnsFirewallRuleGroupId = "dnsFirewallRuleGroupId",
// the properties below are optional
BypassDestinationValidationIpRanges = new [] { new AddressProperty {
AddressDefinition = "addressDefinition"
} },
SourceIpRanges = new [] { new AddressProperty {
AddressDefinition = "addressDefinition"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
route53ResolvedIPValidationProperty := &Route53ResolvedIPValidationProperty{
Action: jsii.String("action"),
DnsExpiryExceptionPolicy: jsii.String("dnsExpiryExceptionPolicy"),
DnsFirewallRuleGroupId: jsii.String("dnsFirewallRuleGroupId"),
// the properties below are optional
BypassDestinationValidationIpRanges: []interface{}{
&AddressProperty{
AddressDefinition: jsii.String("addressDefinition"),
},
},
SourceIpRanges: []interface{}{
&AddressProperty{
AddressDefinition: jsii.String("addressDefinition"),
},
},
}
Properties
bypassDestinationValidationIpRangesoptionalIResolvable | IResolvable | CfnFirewallPolicy.bypass_destination_validation_ip_rangesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AddressProperty]]]bypassDestinationValidationIpRangesoptionalIResolvableBypassDestinationValidationIpRangesoptionalIResolvableBypassDestinationValidationIpRangesoptionalinterface{} #dnsExpiryExceptionPolicystringdns_expiry_exception_policystrdnsExpiryExceptionPolicyStringDnsExpiryExceptionPolicystringDnsExpiryExceptionPolicy*string required #dnsFirewallRuleGroupIdstringdns_firewall_rule_group_idstrdnsFirewallRuleGroupIdStringDnsFirewallRuleGroupIdstringDnsFirewallRuleGroupId*string required #sourceIpRangesoptionalIResolvable | IResolvable | CfnFirewallPolicy.source_ip_rangesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AddressProperty]]]sourceIpRangesoptionalIResolvableSourceIpRangesoptionalIResolvableSourceIpRangesoptionalinterface{} #