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.
> Note: This function is named LookupService in the Go SDK.
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:vpclattice:getService
arguments:
# arguments dictionary
data "aws-native_vpclattice_get_service" "name" {
# arguments
}
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
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.
- AuthType
ServiceAuthType
- 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.
- CertificateArn
string
- The Amazon Resource Name (ARN) of the certificate.
- CreatedAt
string
- The date and time that the service was created, specified in ISO-8601 format.
- DnsEntry
ServiceDnsEntry
- Describes the DNS information of the service. This field is read-only.
- Id
string
- The ID of the service.
- IdleTimeoutSeconds
int
- LastUpdatedAt
string
- The date and time that the service was last updated, specified in ISO-8601 format.
- Status
ServiceStatus
- The status of the service.
- Tags
Tag
- The tags for the service.
- arn
String
- The Amazon Resource Name (ARN) of the service.
- authType
ServiceAuthType
- 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.
- certificateArn
String
- The Amazon Resource Name (ARN) of the certificate.
- createdAt
String
- The date and time that the service was created, specified in ISO-8601 format.
- dnsEntry
ServiceDnsEntry
- Describes the DNS information of the service. This field is read-only.
- id
String
- The ID of the service.
- idleTimeoutSeconds
Integer
- lastUpdatedAt
String
- The date and time that the service was last updated, specified in ISO-8601 format.
- status
ServiceStatus
- The status of the service.
- tags
List<Tag>
- The tags for the service.
- arn
string
- The Amazon Resource Name (ARN) of the service.
- authType
ServiceAuthType
- 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.
- certificateArn
string
- The Amazon Resource Name (ARN) of the certificate.
- createdAt
string
- The date and time that the service was created, specified in ISO-8601 format.
- dnsEntry
ServiceDnsEntry
- Describes the DNS information of the service. This field is read-only.
- id
string
- The ID of the service.
- idleTimeoutSeconds
number
- lastUpdatedAt
string
- The date and time that the service was last updated, specified in ISO-8601 format.
- status
ServiceStatus
- The status of the service.
- tags
Tag[]
- The tags for the service.
- arn
str
- The Amazon Resource Name (ARN) of the service.
- auth_type
ServiceAuthType
- 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
ServiceDnsEntry
- Describes the DNS information of the service. This field is read-only.
- id
str
- The ID of the service.
- idle_timeout_seconds
int
- last_updated_at
str
- The date and time that the service was last updated, specified in ISO-8601 format.
- status
ServiceStatus
- The status of the service.
- tags
Sequence[root_Tag]
- The tags for the service.
Supporting Types
ServiceAuthType
| Name | Value |
|---|
| None | NONE |
| AwsIam | AWS_IAM |
| Name | Value |
|---|
| ServiceAuthTypeNone | NONE |
| ServiceAuthTypeAwsIam | AWS_IAM |
| Name | Value |
|---|
| None | NONE |
| AwsIam | AWS_IAM |
| Name | Value |
|---|
| None | NONE |
| AwsIam | AWS_IAM |
| Name | Value |
|---|
| NONE | NONE |
| AWS_IAM | AWS_IAM |
ServiceDnsEntry
ServiceStatus
| Name | Value |
|---|
| Active | ACTIVE |
| CreateInProgress | CREATE_IN_PROGRESS |
| DeleteInProgress | DELETE_IN_PROGRESS |
| CreateFailed | CREATE_FAILED |
| DeleteFailed | DELETE_FAILED |
| Name | Value |
|---|
| ServiceStatusActive | ACTIVE |
| ServiceStatusCreateInProgress | CREATE_IN_PROGRESS |
| ServiceStatusDeleteInProgress | DELETE_IN_PROGRESS |
| ServiceStatusCreateFailed | CREATE_FAILED |
| ServiceStatusDeleteFailed | DELETE_FAILED |
| Value |
|---|
ACTIVE |
CREATE_IN_PROGRESS |
DELETE_IN_PROGRESS |
CREATE_FAILED |
DELETE_FAILED |
| Name | Value |
|---|
| Active | ACTIVE |
| CreateInProgress | CREATE_IN_PROGRESS |
| DeleteInProgress | DELETE_IN_PROGRESS |
| CreateFailed | CREATE_FAILED |
| DeleteFailed | DELETE_FAILED |
| Name | Value |
|---|
| Active | ACTIVE |
| CreateInProgress | CREATE_IN_PROGRESS |
| DeleteInProgress | DELETE_IN_PROGRESS |
| CreateFailed | CREATE_FAILED |
| DeleteFailed | DELETE_FAILED |
| Name | Value |
|---|
| ACTIVE | ACTIVE |
| CREATE_IN_PROGRESS | CREATE_IN_PROGRESS |
| DELETE_IN_PROGRESS | DELETE_IN_PROGRESS |
| CREATE_FAILED | CREATE_FAILED |
| DELETE_FAILED | DELETE_FAILED |
| Value |
|---|
ACTIVE |
CREATE_IN_PROGRESS |
DELETE_IN_PROGRESS |
CREATE_FAILED |
DELETE_FAILED |
Tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0