Package com.pulumi.aws.route53
Class ResolverQueryLogConfigAssociation
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.route53.ResolverQueryLogConfigAssociation
-
public class ResolverQueryLogConfigAssociation extends com.pulumi.resources.CustomResourceProvides a Route 53 Resolver query logging configuration association resource. ## Example Usage
## Import Using `pulumi import`, import Route 53 Resolver query logging configuration associations using the Route 53 Resolver query logging configuration association ID. For example: ```sh $ pulumi import aws:route53/resolverQueryLogConfigAssociation:ResolverQueryLogConfigAssociation example rqlca-b320624fef3c4d70 ```package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.route53.ResolverQueryLogConfigAssociation; import com.pulumi.aws.route53.ResolverQueryLogConfigAssociationArgs; import java.util.ArrayList; import java.util.Arrays; 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 example = new ResolverQueryLogConfigAssociation("example", ResolverQueryLogConfigAssociationArgs.builder() .resolverQueryLogConfigId(exampleAwsRoute53ResolverQueryLogConfig.id()) .resourceId(exampleAwsVpc.id()) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description ResolverQueryLogConfigAssociation(java.lang.String name)ResolverQueryLogConfigAssociation(java.lang.String name, ResolverQueryLogConfigAssociationArgs args)ResolverQueryLogConfigAssociation(java.lang.String name, ResolverQueryLogConfigAssociationArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResolverQueryLogConfigAssociationget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ResolverQueryLogConfigAssociationState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>resolverQueryLogConfigId()com.pulumi.core.Output<java.lang.String>resourceId()
-
-
-
Constructor Detail
-
ResolverQueryLogConfigAssociation
public ResolverQueryLogConfigAssociation(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
ResolverQueryLogConfigAssociation
public ResolverQueryLogConfigAssociation(java.lang.String name, ResolverQueryLogConfigAssociationArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
ResolverQueryLogConfigAssociation
public ResolverQueryLogConfigAssociation(java.lang.String name, ResolverQueryLogConfigAssociationArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
resolverQueryLogConfigId
public com.pulumi.core.Output<java.lang.String> resolverQueryLogConfigId()
- Returns:
- The ID of the Route 53 Resolver query logging configuration that you want to associate a VPC with.
-
resourceId
public com.pulumi.core.Output<java.lang.String> resourceId()
- Returns:
- The ID of a VPC that you want this query logging configuration to log queries for.
-
get
public static ResolverQueryLogConfigAssociation get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ResolverQueryLogConfigAssociationState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-