CreateServiceRequest
¶
Source code in docs_src/capo_migration_hub_refactor_spaces/types/create_service_request.py
application_identifier
instance-attribute
¶
application_identifier: ApplicationId
The ID of the application which the service is created.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
description
instance-attribute
¶
description: NotRequired[Description]
The description of the service.
endpoint_type
instance-attribute
¶
endpoint_type: ServiceEndpointType
The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.
environment_identifier
instance-attribute
¶
environment_identifier: EnvironmentId
The ID of the environment in which the service is created.
lambda_endpoint
instance-attribute
¶
lambda_endpoint: NotRequired[LambdaEndpointInput]
The configuration for the Lambda endpoint type.
tags
instance-attribute
¶
tags: NotRequired[TagMap]
The tags to assign to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
url_endpoint
instance-attribute
¶
url_endpoint: NotRequired[UrlEndpointInput]
The configuration for the URL endpoint type. When creating a route to a service, Refactor Spaces automatically resolves the address in the UrlEndpointInput object URL when the Domain Name System (DNS) time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60 seconds.