We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.80.0
published on Monday, Sep 21, 2026 by Pulumi
published on Monday, Sep 21, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.80.0
published on Monday, Sep 21, 2026 by Pulumi
published on Monday, Sep 21, 2026 by Pulumi
Associates a VPC with a service network.
Using getServiceNetworkVpcAssociation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getServiceNetworkVpcAssociation(args: GetServiceNetworkVpcAssociationArgs, opts?: InvokeOptions): Promise<GetServiceNetworkVpcAssociationResult>
function getServiceNetworkVpcAssociationOutput(args: GetServiceNetworkVpcAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetServiceNetworkVpcAssociationResult>def get_service_network_vpc_association(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceNetworkVpcAssociationResult
def get_service_network_vpc_association_output(arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetServiceNetworkVpcAssociationResult]func LookupServiceNetworkVpcAssociation(ctx *Context, args *LookupServiceNetworkVpcAssociationArgs, opts ...InvokeOption) (*LookupServiceNetworkVpcAssociationResult, error)
func LookupServiceNetworkVpcAssociationOutput(ctx *Context, args *LookupServiceNetworkVpcAssociationOutputArgs, opts ...InvokeOption) LookupServiceNetworkVpcAssociationResultOutput> Note: This function is named LookupServiceNetworkVpcAssociation in the Go SDK.
public static class GetServiceNetworkVpcAssociation
{
public static Task<GetServiceNetworkVpcAssociationResult> InvokeAsync(GetServiceNetworkVpcAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetServiceNetworkVpcAssociationResult> Invoke(GetServiceNetworkVpcAssociationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetServiceNetworkVpcAssociationResult> Invoke(GetServiceNetworkVpcAssociationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetServiceNetworkVpcAssociationResult> getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationArgs args, InvokeOptions options)
public static Output<GetServiceNetworkVpcAssociationResult> getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationArgs args, InvokeOptions options)
public static Output<GetServiceNetworkVpcAssociationResult> getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:vpclattice:getServiceNetworkVpcAssociation
arguments:
# arguments dictionarydata "aws-native_vpclattice_get_service_network_vpc_association" "name" {
# arguments
}The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- Arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- arn String
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- arn str
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- arn String
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
getServiceNetworkVpcAssociation Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- Created
At string - The date and time that the association was created, specified in ISO-8601 format.
- Dns
Options Pulumi.Aws Native. Vpc Lattice. Outputs. Service Network Vpc Association Dns Options - The DNS options for the service network VPC association.
- Id string
- The ID of the specified association between the service network and the VPC.
- Private
Dns boolEnabled - Indicates if private DNS is enabled for the service network VPC association.
- Security
Group List<string>Ids - The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
- Service
Network stringArn - The Amazon Resource Name (ARN) of the service network.
- Service
Network stringId - The ID of the service network.
- Service
Network stringName - The name of the service network.
- Status
Pulumi.
Aws Native. Vpc Lattice. Service Network Vpc Association Status - The status of the association.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the association.
- Vpc
Id string - The ID of the VPC.
- Arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- Created
At string - The date and time that the association was created, specified in ISO-8601 format.
- Dns
Options ServiceNetwork Vpc Association Dns Options - The DNS options for the service network VPC association.
- Id string
- The ID of the specified association between the service network and the VPC.
- Private
Dns boolEnabled - Indicates if private DNS is enabled for the service network VPC association.
- Security
Group []stringIds - The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
- Service
Network stringArn - The Amazon Resource Name (ARN) of the service network.
- Service
Network stringId - The ID of the service network.
- Service
Network stringName - The name of the service network.
- Status
Service
Network Vpc Association Status - The status of the association.
- Tag
- The tags for the association.
- Vpc
Id string - The ID of the VPC.
- arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- created_
at string - The date and time that the association was created, specified in ISO-8601 format.
- dns_
options object - The DNS options for the service network VPC association.
- id string
- The ID of the specified association between the service network and the VPC.
- private_
dns_ boolenabled - Indicates if private DNS is enabled for the service network VPC association.
- security_
group_ list(string)ids - The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
- service_
network_ stringarn - The Amazon Resource Name (ARN) of the service network.
- service_
network_ stringid - The ID of the service network.
- service_
network_ stringname - The name of the service network.
- status "CREATE_IN_PROGRESS" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_FAILED"
- The status of the association.
- list(object)
- The tags for the association.
- vpc_
id string - The ID of the VPC.
- arn String
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- created
At String - The date and time that the association was created, specified in ISO-8601 format.
- dns
Options ServiceNetwork Vpc Association Dns Options - The DNS options for the service network VPC association.
- id String
- The ID of the specified association between the service network and the VPC.
- private
Dns BooleanEnabled - Indicates if private DNS is enabled for the service network VPC association.
- security
Group List<String>Ids - The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
- service
Network StringArn - The Amazon Resource Name (ARN) of the service network.
- service
Network StringId - The ID of the service network.
- service
Network StringName - The name of the service network.
- status
Service
Network Vpc Association Status - The status of the association.
- List<Tag>
- The tags for the association.
- vpc
Id String - The ID of the VPC.
- arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- created
At string - The date and time that the association was created, specified in ISO-8601 format.
- dns
Options ServiceNetwork Vpc Association Dns Options - The DNS options for the service network VPC association.
- id string
- The ID of the specified association between the service network and the VPC.
- private
Dns booleanEnabled - Indicates if private DNS is enabled for the service network VPC association.
- security
Group string[]Ids - The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
- service
Network stringArn - The Amazon Resource Name (ARN) of the service network.
- service
Network stringId - The ID of the service network.
- service
Network stringName - The name of the service network.
- status
Service
Network Vpc Association Status - The status of the association.
- Tag[]
- The tags for the association.
- vpc
Id string - The ID of the VPC.
- arn str
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- created_
at str - The date and time that the association was created, specified in ISO-8601 format.
- dns_
options ServiceNetwork Vpc Association Dns Options - The DNS options for the service network VPC association.
- id str
- The ID of the specified association between the service network and the VPC.
- private_
dns_ boolenabled - Indicates if private DNS is enabled for the service network VPC association.
- security_
group_ Sequence[str]ids - The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
- service_
network_ strarn - The Amazon Resource Name (ARN) of the service network.
- service_
network_ strid - The ID of the service network.
- service_
network_ strname - The name of the service network.
- status
Service
Network Vpc Association Status - The status of the association.
- Sequence[root_Tag]
- The tags for the association.
- vpc_
id str - The ID of the VPC.
- arn String
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- created
At String - The date and time that the association was created, specified in ISO-8601 format.
- dns
Options Property Map - The DNS options for the service network VPC association.
- id String
- The ID of the specified association between the service network and the VPC.
- private
Dns BooleanEnabled - Indicates if private DNS is enabled for the service network VPC association.
- security
Group List<String>Ids - The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
- service
Network StringArn - The Amazon Resource Name (ARN) of the service network.
- service
Network StringId - The ID of the service network.
- service
Network StringName - The name of the service network.
- status "CREATE_IN_PROGRESS" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_FAILED"
- The status of the association.
- List<Property Map>
- The tags for the association.
- vpc
Id String - The ID of the VPC.
Supporting Types
ServiceNetworkVpcAssociationDnsOptions
- Private
Dns Pulumi.Preference Aws Native. Vpc Lattice. Service Network Vpc Association Dns Options Private Dns Preference - The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.
- Private
Dns List<string>Specified Domains - Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.
- Private
Dns ServicePreference Network Vpc Association Dns Options Private Dns Preference - The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.
- Private
Dns []stringSpecified Domains - Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.
- private_
dns_ "VERIFIED_DOMAINS_ONLY" | "ALL_DOMAINS" | "VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS" | "SPECIFIED_DOMAINS_ONLY"preference - The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.
- private_
dns_ list(string)specified_ domains - Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.
- private
Dns ServicePreference Network Vpc Association Dns Options Private Dns Preference - The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.
- private
Dns List<String>Specified Domains - Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.
- private
Dns ServicePreference Network Vpc Association Dns Options Private Dns Preference - The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.
- private
Dns string[]Specified Domains - Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.
- private_
dns_ Servicepreference Network Vpc Association Dns Options Private Dns Preference - The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.
- private_
dns_ Sequence[str]specified_ domains - Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.
- private
Dns "VERIFIED_DOMAINS_ONLY" | "ALL_DOMAINS" | "VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS" | "SPECIFIED_DOMAINS_ONLY"Preference - The preference for which private domains have a private hosted zone created for and associated with the specified VPC. Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.
- private
Dns List<String>Specified Domains - Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. Only supported when private DNS is enabled and the private DNS preference is
VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINSorSPECIFIED_DOMAINS_ONLY.
ServiceNetworkVpcAssociationDnsOptionsPrivateDnsPreference
ServiceNetworkVpcAssociationStatus
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.80.0
published on Monday, Sep 21, 2026 by Pulumi
published on Monday, Sep 21, 2026 by Pulumi