Service Args
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());
}
}
Content copied to clipboard
Import
VPC Lattice Service can be imported using the id
, e.g.,
$ pulumi import aws:vpclattice/service:Service example svc-06728e2357ea55f8a
Content copied to clipboard
Constructors
Properties
Link copied to clipboard
Amazon Resource Name (ARN) of the certificate.
Link copied to clipboard
Custom domain name of the service.
Link copied to clipboard
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: