Interface DnsPolicyConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
DnsPolicyConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:21.079Z") @Stability(Stable) public interface DnsPolicyConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDnsPolicyConfig.BuilderA builder forDnsPolicyConfigstatic classDnsPolicyConfig.Jsii$ProxyAn implementation forDnsPolicyConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static DnsPolicyConfig.Builderbuilder()default DnsPolicyAlternativeNameServerConfiggetAlternativeNameServerConfig()alternative_name_server_config block.default StringgetDescription()A textual description field.default ObjectgetEnableInboundForwarding()Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections.default ObjectgetEnableLogging()Controls whether logging is enabled for the networks bound to this policy.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#id DnsPolicy#id}.StringgetName()User assigned name for this policy.default ObjectgetNetworks()networks block.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#project DnsPolicy#project}.default DnsPolicyTimeoutsgetTimeouts()timeouts block.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
User assigned name for this policy.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#name DnsPolicy#name}
-
getAlternativeNameServerConfig
@Stability(Stable) @Nullable default DnsPolicyAlternativeNameServerConfig getAlternativeNameServerConfig()
alternative_name_server_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#alternative_name_server_config DnsPolicy#alternative_name_server_config}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
A textual description field. Defaults to 'Managed by Terraform'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#description DnsPolicy#description}
-
getEnableInboundForwarding
@Stability(Stable) @Nullable default Object getEnableInboundForwarding()
Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections.When enabled, a virtual IP address will be allocated from each of the sub-networks that are bound to this policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#enable_inbound_forwarding DnsPolicy#enable_inbound_forwarding}
-
getEnableLogging
@Stability(Stable) @Nullable default Object getEnableLogging()
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#enable_logging DnsPolicy#enable_logging}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#id DnsPolicy#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getNetworks
@Stability(Stable) @Nullable default Object getNetworks()
networks block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#networks DnsPolicy#networks}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#project DnsPolicy#project}.
-
getTimeouts
@Stability(Stable) @Nullable default DnsPolicyTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_policy#timeouts DnsPolicy#timeouts}
-
builder
@Stability(Stable) static DnsPolicyConfig.Builder builder()
- Returns:
- a
DnsPolicyConfig.BuilderofDnsPolicyConfig
-
-