Package com.pulumi.aws.vpc
Class EndpointServicePrivateDnsVerification
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.vpc.EndpointServicePrivateDnsVerification
-
public class EndpointServicePrivateDnsVerification extends com.pulumi.resources.CustomResourceResource for managing an AWS VPC Endpoint Service Private DNS Verification. This resource begins the verification process by calling the [`StartVpcEndpointServicePrivateDnsVerification`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartVpcEndpointServicePrivateDnsVerification.html) API. The service provider should add a record to the DNS server _before_ creating this resource. For additional details, refer to the AWS documentation on [managing VPC endpoint service DNS names](https://docs.aws.amazon.com/vpc/latest/privatelink/manage-dns-names.html). > Destruction of this resource will not stop the verification process, only remove the resource from state. ## Example Usage ### Basic Usage
## Import You cannot import this resource.package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.vpc.EndpointServicePrivateDnsVerification; import com.pulumi.aws.vpc.EndpointServicePrivateDnsVerificationArgs; 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 EndpointServicePrivateDnsVerification("example", EndpointServicePrivateDnsVerificationArgs.builder() .serviceId(exampleAwsVpcEndpointService.id()) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description EndpointServicePrivateDnsVerification(java.lang.String name)EndpointServicePrivateDnsVerification(java.lang.String name, EndpointServicePrivateDnsVerificationArgs args)EndpointServicePrivateDnsVerification(java.lang.String name, EndpointServicePrivateDnsVerificationArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointServicePrivateDnsVerificationget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, EndpointServicePrivateDnsVerificationState 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>serviceId()com.pulumi.core.Output<java.util.Optional<EndpointServicePrivateDnsVerificationTimeouts>>timeouts()com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>>waitForVerification()
-
-
-
Constructor Detail
-
EndpointServicePrivateDnsVerification
public EndpointServicePrivateDnsVerification(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
EndpointServicePrivateDnsVerification
public EndpointServicePrivateDnsVerification(java.lang.String name, EndpointServicePrivateDnsVerificationArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
EndpointServicePrivateDnsVerification
public EndpointServicePrivateDnsVerification(java.lang.String name, EndpointServicePrivateDnsVerificationArgs 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.
-
serviceId
public com.pulumi.core.Output<java.lang.String> serviceId()
- Returns:
- ID of the endpoint service. The following arguments are optional:
-
timeouts
public com.pulumi.core.Output<java.util.Optional<EndpointServicePrivateDnsVerificationTimeouts>> timeouts()
-
waitForVerification
public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> waitForVerification()
- Returns:
- Whether to wait until the endpoint service returns a `Verified` status for the configured private DNS name.
-
get
public static EndpointServicePrivateDnsVerification get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable EndpointServicePrivateDnsVerificationState 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.
-
-