SubnetGroup

class SubnetGroup : KotlinCustomResource

Provides an Neptune subnet group resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.neptune.SubnetGroup;
import com.pulumi.aws.neptune.SubnetGroupArgs;
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 default_ = new SubnetGroup("default", SubnetGroupArgs.builder()
.subnetIds(
aws_subnet.frontend().id(),
aws_subnet.backend().id())
.tags(Map.of("Name", "My neptune subnet group"))
.build());
}
}

Import

Neptune Subnet groups can be imported using the name, e.g.,

$ pulumi import aws:neptune/subnetGroup:SubnetGroup default production-subnet-group

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the neptune subnet group.

Link copied to clipboard
val description: Output<String>

The description of the neptune subnet group. Defaults to "Managed by Pulumi".

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the neptune subnet group. If omitted, this provider will assign a random, unique name.

Link copied to clipboard
val namePrefix: Output<String>

Creates a unique name beginning with the specified prefix. Conflicts with name.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val subnetIds: Output<List<String>>

A list of VPC subnet IDs.

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

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>