We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi
aws-native.vpclattice.getServiceNetworkVpcAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 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?: InvokeOptions): 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: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = 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 CompletableFuture<GetServiceNetworkVpcAssociationResult> getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationArgs args, InvokeOptions options)
public static Output<GetServiceNetworkVpcAssociationResult> getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:vpclattice:getServiceNetworkVpcAssociation
  arguments:
    # arguments dictionaryThe 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 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.
 - Id string
 - The ID of the specified association between the service network and the VPC.
 - 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.
 - Id string
 - The ID of the specified association between the service network and the VPC.
 - 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.
 - id String
 - The ID of the specified association between the service network and the VPC.
 - 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.
 - id string
 - The ID of the specified association between the service network and the VPC.
 - 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.
 - id str
 - The ID of the specified association between the service network and the VPC.
 - 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.
 - id String
 - The ID of the specified association between the service network and the VPC.
 - 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
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.
AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi