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

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

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

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>
Copy
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]
Copy
func LookupServiceNetwork(ctx *Context, args *LookupServiceNetworkArgs, opts ...InvokeOption) (*LookupServiceNetworkResult, error)
func LookupServiceNetworkOutput(ctx *Context, args *LookupServiceNetworkOutputArgs, opts ...InvokeOption) LookupServiceNetworkResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetServiceNetworkResult> getServiceNetwork(GetServiceNetworkArgs args, InvokeOptions options)
public static Output<GetServiceNetworkResult> getServiceNetwork(GetServiceNetworkArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:vpclattice:getServiceNetwork
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
The Amazon Resource Name (ARN) of the service network.
Arn This property is required. string
The Amazon Resource Name (ARN) of the service network.
arn This property is required. String
The Amazon Resource Name (ARN) of the service network.
arn This property is required. string
The Amazon Resource Name (ARN) of the service network.
arn This property is required. str
The Amazon Resource Name (ARN) of the service network.
arn This property is required. 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.
SharingConfig Pulumi.AwsNative.VpcLattice.Outputs.ServiceNetworkSharingConfig
Specify if the service network should be enabled for sharing.
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.
SharingConfig ServiceNetworkSharingConfig
Specify if the service network should be enabled for sharing.
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.
sharingConfig ServiceNetworkSharingConfig
Specify if the service network should be enabled for sharing.
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.
sharingConfig ServiceNetworkSharingConfig
Specify if the service network should be enabled for sharing.
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.
sharing_config ServiceNetworkSharingConfig
Specify if the service network should be enabled for sharing.
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.
sharingConfig Property Map
Specify if the service network should be enabled for sharing.
tags List<Property Map>
The tags for the service network.

Supporting Types

ServiceNetworkAuthType

ServiceNetworkSharingConfig

Enabled This property is required. bool
Specify if the service network should be enabled for sharing.
Enabled This property is required. bool
Specify if the service network should be enabled for sharing.
enabled This property is required. Boolean
Specify if the service network should be enabled for sharing.
enabled This property is required. boolean
Specify if the service network should be enabled for sharing.
enabled This property is required. bool
Specify if the service network should be enabled for sharing.
enabled This property is required. Boolean
Specify if the service network should be enabled for sharing.

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the 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