We recommend new projects start with resources from the AWS provider.
aws-native.vpclattice.getServiceNetwork
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.
- AuthType 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.
 
- 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.
- LastUpdated 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.
- AuthType 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.
 
- 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.
- LastUpdated stringAt 
- The date and time of the last update, specified in ISO-8601 format.
- 
ServiceNetwork 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.
- authType 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.
 
- 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.
- lastUpdated StringAt 
- The date and time of the last update, specified in ISO-8601 format.
- 
ServiceNetwork 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.
- authType 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.
 
- 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.
- lastUpdated stringAt 
- The date and time of the last update, specified in ISO-8601 format.
- 
ServiceNetwork 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.
- 
ServiceNetwork 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.
- 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.
- lastUpdated 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.