1. Packages
  2. AWS Native
  3. API Docs
  4. vpclattice
  5. getServiceNetworkVpcAssociation

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.vpclattice.getServiceNetworkVpcAssociation

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:vpclattice:getServiceNetworkVpcAssociation
      arguments:
        # arguments dictionary

    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 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.
    SecurityGroupIds List<string>
    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 .
    ServiceNetworkArn string
    The Amazon Resource Name (ARN) of the service network.
    ServiceNetworkId string
    The ID of the service network.
    ServiceNetworkName string
    The name of the service network.
    Status Pulumi.AwsNative.VpcLattice.ServiceNetworkVpcAssociationStatus
    The status of the association.
    Tags List<Pulumi.AwsNative.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.
    SecurityGroupIds []string
    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 .
    ServiceNetworkArn string
    The Amazon Resource Name (ARN) of the service network.
    ServiceNetworkId string
    The ID of the service network.
    ServiceNetworkName string
    The name of the service network.
    Status ServiceNetworkVpcAssociationStatus
    The status of the association.
    Tags 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.
    securityGroupIds List<String>
    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 .
    serviceNetworkArn String
    The Amazon Resource Name (ARN) of the service network.
    serviceNetworkId String
    The ID of the service network.
    serviceNetworkName String
    The name of the service network.
    status ServiceNetworkVpcAssociationStatus
    The status of the association.
    tags 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.
    securityGroupIds string[]
    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 .
    serviceNetworkArn string
    The Amazon Resource Name (ARN) of the service network.
    serviceNetworkId string
    The ID of the service network.
    serviceNetworkName string
    The name of the service network.
    status ServiceNetworkVpcAssociationStatus
    The status of the association.
    tags 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_ids Sequence[str]
    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_arn str
    The Amazon Resource Name (ARN) of the service network.
    service_network_id str
    The ID of the service network.
    service_network_name str
    The name of the service network.
    status ServiceNetworkVpcAssociationStatus
    The status of the association.
    tags 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.
    securityGroupIds List<String>
    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 .
    serviceNetworkArn String
    The Amazon Resource Name (ARN) of the service network.
    serviceNetworkId String
    The ID of the service network.
    serviceNetworkName String
    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.
    tags List<Property Map>
    The tags for the association.
    vpcId String
    The ID of the VPC.

    Supporting Types

    ServiceNetworkVpcAssociationStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi