We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 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.26.0 published on Wednesday, Mar 12, 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.
- CreatedAt 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.
- SecurityGroup 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 .
- ServiceNetwork stringArn 
- The Amazon Resource Name (ARN) of the service network.
- ServiceNetwork stringId 
- The ID of the service network.
- ServiceNetwork 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.
- VpcId string
- The ID of the VPC.
- Arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- CreatedAt 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.
- SecurityGroup []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 .
- ServiceNetwork stringArn 
- The Amazon Resource Name (ARN) of the service network.
- ServiceNetwork stringId 
- The ID of the service network.
- ServiceNetwork stringName 
- The name of the service network.
- Status
ServiceNetwork Vpc Association Status 
- The status of the association.
- Tag
- The tags for the association.
- VpcId string
- The ID of the VPC.
- arn String
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- createdAt 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.
- securityGroup 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 .
- serviceNetwork StringArn 
- The Amazon Resource Name (ARN) of the service network.
- serviceNetwork StringId 
- The ID of the service network.
- serviceNetwork StringName 
- The name of the service network.
- status
ServiceNetwork Vpc Association Status 
- The status of the association.
- List<Tag>
- The tags for the association.
- vpcId String
- The ID of the VPC.
- arn string
- The Amazon Resource Name (ARN) of the association between the service network and the VPC.
- createdAt 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.
- securityGroup 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 .
- serviceNetwork stringArn 
- The Amazon Resource Name (ARN) of the service network.
- serviceNetwork stringId 
- The ID of the service network.
- serviceNetwork stringName 
- The name of the service network.
- status
ServiceNetwork Vpc Association Status 
- The status of the association.
- Tag[]
- The tags for the association.
- vpcId 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
ServiceNetwork 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.
- createdAt 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.
- securityGroup 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 .
- serviceNetwork StringArn 
- The Amazon Resource Name (ARN) of the service network.
- serviceNetwork StringId 
- The ID of the service network.
- serviceNetwork 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.
- vpcId 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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi