We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 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>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)
public static Output<GetServiceNetworkResult> getServiceNetwork(GetServiceNetworkArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:vpclattice:getServiceNetwork
arguments:
# arguments dictionaryThe 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.
- Auth
Type Pulumi.Aws Native. Vpc Lattice. Service Network Auth Type - 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 string - The date and time that the service network was created, specified in ISO-8601 format.
- Id string
- The ID of the service network.
- Last
Updated stringAt - The date and time of the last update, specified in ISO-8601 format.
-
Pulumi.
Aws Native. Vpc Lattice. Outputs. Service Network Sharing Config - Specify if the service network should be enabled for sharing.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the service network.
- Arn string
- The Amazon Resource Name (ARN) of the service network.
- Auth
Type ServiceNetwork Auth Type - 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 string - The date and time that the service network was created, specified in ISO-8601 format.
- Id string
- The ID of the service network.
- Last
Updated stringAt - The date and time of the last update, specified in ISO-8601 format.
-
Service
Network Sharing Config - Specify if the service network should be enabled for sharing.
- Tag
- The tags for the service network.
- arn String
- The Amazon Resource Name (ARN) of the service network.
- auth
Type ServiceNetwork Auth Type - 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 String - The date and time that the service network was created, specified in ISO-8601 format.
- id String
- The ID of the service network.
- last
Updated StringAt - The date and time of the last update, specified in ISO-8601 format.
-
Service
Network Sharing Config - Specify if the service network should be enabled for sharing.
- List<Tag>
- The tags for the service network.
- arn string
- The Amazon Resource Name (ARN) of the service network.
- auth
Type ServiceNetwork Auth Type - 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 string - The date and time that the service network was created, specified in ISO-8601 format.
- id string
- The ID of the service network.
- last
Updated stringAt - The date and time of the last update, specified in ISO-8601 format.
-
Service
Network Sharing Config - Specify if the service network should be enabled for sharing.
- Tag[]
- The tags for the service network.
- arn str
- The Amazon Resource Name (ARN) of the service network.
- auth_
type ServiceNetwork Auth Type - 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_ strat - The date and time of the last update, specified in ISO-8601 format.
-
Service
Network Sharing Config - Specify if the service network should be enabled for sharing.
- Sequence[root_Tag]
- The tags for the service network.
- arn String
- The Amazon Resource Name (ARN) of the service network.
- auth
Type "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.
- created
At String - The date and time that the service network was created, specified in ISO-8601 format.
- id String
- The ID of the service network.
- last
Updated StringAt - The date and time of the last update, specified in ISO-8601 format.
- Property Map
- Specify if the service network should be enabled for sharing.
- List<Property Map>
- The tags for the service network.
Supporting Types
ServiceNetworkAuthType
ServiceNetworkSharingConfig
- Enabled bool
- Specify if the service network should be enabled for sharing.
- Enabled bool
- Specify if the service network should be enabled for sharing.
- enabled Boolean
- Specify if the service network should be enabled for sharing.
- enabled boolean
- Specify if the service network should be enabled for sharing.
- enabled bool
- Specify if the service network should be enabled for sharing.
- enabled Boolean
- Specify if the service network should be enabled for sharing.
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.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
