ResolverConfig

class ResolverConfig : KotlinCustomResource

Provides a Route 53 Resolver config resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Vpc;
import com.pulumi.aws.ec2.VpcArgs;
import com.pulumi.aws.route53.ResolverConfig;
import com.pulumi.aws.route53.ResolverConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()
.cidrBlock("10.0.0.0/16")
.enableDnsSupport(true)
.enableDnsHostnames(true)
.build());
var exampleResolverConfig = new ResolverConfig("exampleResolverConfig", ResolverConfigArgs.builder()
.resourceId(exampleVpc.id())
.autodefinedReverseFlag("DISABLE")
.build());
}
}

Import

Route 53 Resolver configs can be imported using the Route 53 Resolver config ID, e.g.,

$ pulumi import aws:route53/resolverConfig:ResolverConfig example rslvr-rc-715aa20c73a23da7

Properties

Link copied to clipboard

Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. Valid values: ENABLE, DISABLE.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ownerId: Output<String>

The AWS account ID of the owner of the VPC that this resolver configuration applies to.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceId: Output<String>

The ID of the VPC that the configuration is for.

Link copied to clipboard
val urn: Output<String>