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)
// 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- List<Property Map>
- The tags for the service network.
Supporting Types
ServiceNetworkAuthType
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.