We recommend new projects start with resources from the AWS provider.
aws-native.vpclattice.getService
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
Using getService
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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
def get_service(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
> Note: This function is named LookupService
in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:vpclattice:getService
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the service.
- Arn string
- The Amazon Resource Name (ARN) of the service.
- arn String
- The Amazon Resource Name (ARN) of the service.
- arn string
- The Amazon Resource Name (ARN) of the service.
- arn str
- The Amazon Resource Name (ARN) of the service.
- arn String
- The Amazon Resource Name (ARN) of the service.
getService Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the service.
- Auth
Type Pulumi.Aws Native. Vpc Lattice. Service 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.
- Certificate
Arn string - The Amazon Resource Name (ARN) of the certificate.
- Created
At string - The date and time that the service was created, specified in ISO-8601 format.
- Dns
Entry Pulumi.Aws Native. Vpc Lattice. Outputs. Service Dns Entry - The DNS information of the service.
- Id string
- The ID of the service.
- Last
Updated stringAt - The date and time that the service was last updated, specified in ISO-8601 format.
- Status
Pulumi.
Aws Native. Vpc Lattice. Service Status - The status of the service.
- List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the service.
- Arn string
- The Amazon Resource Name (ARN) of the service.
- Auth
Type ServiceAuth 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.
- Certificate
Arn string - The Amazon Resource Name (ARN) of the certificate.
- Created
At string - The date and time that the service was created, specified in ISO-8601 format.
- Dns
Entry ServiceDns Entry - The DNS information of the service.
- Id string
- The ID of the service.
- Last
Updated stringAt - The date and time that the service was last updated, specified in ISO-8601 format.
- Status
Service
Status - The status of the service.
- Tag
- The tags for the service.
- arn String
- The Amazon Resource Name (ARN) of the service.
- auth
Type ServiceAuth 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.
- certificate
Arn String - The Amazon Resource Name (ARN) of the certificate.
- created
At String - The date and time that the service was created, specified in ISO-8601 format.
- dns
Entry ServiceDns Entry - The DNS information of the service.
- id String
- The ID of the service.
- last
Updated StringAt - The date and time that the service was last updated, specified in ISO-8601 format.
- status
Service
Status - The status of the service.
- List<Tag>
- The tags for the service.
- arn string
- The Amazon Resource Name (ARN) of the service.
- auth
Type ServiceAuth 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.
- certificate
Arn string - The Amazon Resource Name (ARN) of the certificate.
- created
At string - The date and time that the service was created, specified in ISO-8601 format.
- dns
Entry ServiceDns Entry - The DNS information of the service.
- id string
- The ID of the service.
- last
Updated stringAt - The date and time that the service was last updated, specified in ISO-8601 format.
- status
Service
Status - The status of the service.
- Tag[]
- The tags for the service.
- arn str
- The Amazon Resource Name (ARN) of the service.
- auth_
type ServiceAuth 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.
- certificate_
arn str - The Amazon Resource Name (ARN) of the certificate.
- created_
at str - The date and time that the service was created, specified in ISO-8601 format.
- dns_
entry ServiceDns Entry - The DNS information of the service.
- id str
- The ID of the service.
- last_
updated_ strat - The date and time that the service was last updated, specified in ISO-8601 format.
- status
Service
Status - The status of the service.
- Sequence[root_Tag]
- The tags for the service.
- arn String
- The Amazon Resource Name (ARN) of the service.
- 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.
- certificate
Arn String - The Amazon Resource Name (ARN) of the certificate.
- created
At String - The date and time that the service was created, specified in ISO-8601 format.
- dns
Entry Property Map - The DNS information of the service.
- id String
- The ID of the service.
- last
Updated StringAt - The date and time that the service was last updated, specified in ISO-8601 format.
- status "ACTIVE" | "CREATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_FAILED"
- The status of the service.
- List<Property Map>
- The tags for the service.
Supporting Types
ServiceAuthType
ServiceDnsEntry
- Domain
Name string - The domain name of the service.
- Hosted
Zone stringId - The ID of the hosted zone.
- Domain
Name string - The domain name of the service.
- Hosted
Zone stringId - The ID of the hosted zone.
- domain
Name String - The domain name of the service.
- hosted
Zone StringId - The ID of the hosted zone.
- domain
Name string - The domain name of the service.
- hosted
Zone stringId - The ID of the hosted zone.
- domain_
name str - The domain name of the service.
- hosted_
zone_ strid - The ID of the hosted zone.
- domain
Name String - The domain name of the service.
- hosted
Zone StringId - The ID of the hosted zone.
ServiceStatus
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.