ServiceArgs

data class ServiceArgs(val authType: Output<String>? = null, val certificateArn: Output<String>? = null, val customDomainName: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ServiceArgs>

Resource for managing an AWS VPC Lattice Service.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.vpclattice.Service;
import com.pulumi.aws.vpclattice.ServiceArgs;
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 example = new Service("example", ServiceArgs.builder()
.authType("AWS_IAM")
.customDomainName("example.com")
.build());
}
}

Import

VPC Lattice Service can be imported using the id, e.g.,

$ pulumi import aws:vpclattice/service:Service example svc-06728e2357ea55f8a

Constructors

Link copied to clipboard
constructor(authType: Output<String>? = null, certificateArn: Output<String>? = null, customDomainName: Output<String>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val authType: Output<String>? = null

Type of IAM policy. Either NONE or AWS_IAM.

Link copied to clipboard
val certificateArn: Output<String>? = null

Amazon Resource Name (ARN) of the certificate.

Link copied to clipboard
val customDomainName: Output<String>? = null

Custom domain name of the service.

Link copied to clipboard
val name: Output<String>? = null

Name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.Must be between 3 and 40 characters in length. The following arguments are optional:

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): ServiceArgs