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

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.getServiceNetwork

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

    A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.

    Using getServiceNetwork

    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 getServiceNetwork(args: GetServiceNetworkArgs, opts?: InvokeOptions): Promise<GetServiceNetworkResult>
    function getServiceNetworkOutput(args: GetServiceNetworkOutputArgs, opts?: InvokeOptions): Output<GetServiceNetworkResult>
    def get_service_network(arn: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetServiceNetworkResult
    def get_service_network_output(arn: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetServiceNetworkResult]
    func LookupServiceNetwork(ctx *Context, args *LookupServiceNetworkArgs, opts ...InvokeOption) (*LookupServiceNetworkResult, error)
    func LookupServiceNetworkOutput(ctx *Context, args *LookupServiceNetworkOutputArgs, opts ...InvokeOption) LookupServiceNetworkResultOutput

    > Note: This function is named LookupServiceNetwork in the Go SDK.

    public static class GetServiceNetwork 
    {
        public static Task<GetServiceNetworkResult> InvokeAsync(GetServiceNetworkArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceNetworkResult> Invoke(GetServiceNetworkInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceNetworkResult> getServiceNetwork(GetServiceNetworkArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:vpclattice:getServiceNetwork
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the service network.
    Arn string
    The Amazon Resource Name (ARN) of the service network.
    arn String
    The Amazon Resource Name (ARN) of the service network.
    arn string
    The Amazon Resource Name (ARN) of the service network.
    arn str
    The Amazon Resource Name (ARN) of the service network.
    arn String
    The Amazon Resource Name (ARN) of the service network.

    getServiceNetwork Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the service network.
    AuthType Pulumi.AwsNative.VpcLattice.ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    CreatedAt string
    The date and time that the service network was created, specified in ISO-8601 format.
    Id string
    The ID of the service network.
    LastUpdatedAt string
    The date and time of the last update, specified in ISO-8601 format.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the service network.
    Arn string
    The Amazon Resource Name (ARN) of the service network.
    AuthType ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    CreatedAt string
    The date and time that the service network was created, specified in ISO-8601 format.
    Id string
    The ID of the service network.
    LastUpdatedAt string
    The date and time of the last update, specified in ISO-8601 format.
    Tags Tag
    The tags for the service network.
    arn String
    The Amazon Resource Name (ARN) of the service network.
    authType ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    createdAt String
    The date and time that the service network was created, specified in ISO-8601 format.
    id String
    The ID of the service network.
    lastUpdatedAt String
    The date and time of the last update, specified in ISO-8601 format.
    tags List<Tag>
    The tags for the service network.
    arn string
    The Amazon Resource Name (ARN) of the service network.
    authType ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    createdAt string
    The date and time that the service network was created, specified in ISO-8601 format.
    id string
    The ID of the service network.
    lastUpdatedAt string
    The date and time of the last update, specified in ISO-8601 format.
    tags Tag[]
    The tags for the service network.
    arn str
    The Amazon Resource Name (ARN) of the service network.
    auth_type ServiceNetworkAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    created_at str
    The date and time that the service network was created, specified in ISO-8601 format.
    id str
    The ID of the service network.
    last_updated_at str
    The date and time of the last update, specified in ISO-8601 format.
    tags Sequence[root_Tag]
    The tags for the service network.
    arn String
    The Amazon Resource Name (ARN) of the service network.
    authType "NONE" | "AWS_IAM"
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    createdAt String
    The date and time that the service network was created, specified in ISO-8601 format.
    id String
    The ID of the service network.
    lastUpdatedAt String
    The date and time of the last update, specified in ISO-8601 format.
    tags List<Property Map>
    The tags for the service network.

    Supporting Types

    ServiceNetworkAuthType

    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