ServiceNetworkArgs

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

Resource for managing an AWS VPC Lattice Service Network.

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.ServiceNetwork;
import com.pulumi.aws.vpclattice.ServiceNetworkArgs;
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 ServiceNetwork("example", ServiceNetworkArgs.builder()
.authType("AWS_IAM")
.build());
}
}

Import

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

$ pulumi import aws:vpclattice/serviceNetwork:ServiceNetwork example sn-0158f91c1e3358dba

Constructors

Link copied to clipboard
constructor(authType: 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 name: Output<String>? = null

Name of the service network 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(): ServiceNetworkArgs