ServiceNetworkServiceAssociation

class ServiceNetworkServiceAssociation : KotlinCustomResource

Resource for managing an AWS VPC Lattice Service Network Service Association.

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.ServiceNetworkServiceAssociation;
import com.pulumi.aws.vpclattice.ServiceNetworkServiceAssociationArgs;
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 ServiceNetworkServiceAssociation("example", ServiceNetworkServiceAssociationArgs.builder()
.serviceIdentifier(aws_vpclattice_service.example().id())
.serviceNetworkIdentifier(aws_vpclattice_service_network.example().id())
.build());
}
}

Import

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

$ pulumi import aws:vpclattice/serviceNetworkServiceAssociation:ServiceNetworkServiceAssociation example snsa-05e2474658a88f6ba

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the Association.

Link copied to clipboard
val createdBy: Output<String>

The account that created the association.

Link copied to clipboard

The custom domain name of the service.

Link copied to clipboard

The DNS name of the service.

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

The ID or Amazon Resource Identifier (ARN) of the service.

Link copied to clipboard

The ID or Amazon Resource Identifier (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts. The following arguments are optional:

Link copied to clipboard
val status: Output<String>

The operations status. Valid Values are CREATE_IN_PROGRESS | ACTIVE | DELETE_IN_PROGRESS | CREATE_FAILED | DELETE_FAILED

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

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.

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

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>