Skip to content

CreateServiceRequest

Source code in docs_src/capo_migration_hub_refactor_spaces/types/create_service_request.py
class CreateServiceRequest(TypedDict, closed=True):
    name: "capo_migration_hub_refactor_spaces.types.service_name.ServiceName"
    """<p>The name of the service.</p>"""
    description: NotRequired[
        "capo_migration_hub_refactor_spaces.types.description.Description"
    ]
    """<p>The description of the service.</p>"""
    environment_identifier: (
        "capo_migration_hub_refactor_spaces.types.environment_id.EnvironmentId"
    )
    """<p>The ID of the environment in which the service is created.</p>"""
    application_identifier: (
        "capo_migration_hub_refactor_spaces.types.application_id.ApplicationId"
    )
    """<p>The ID of the application which the service is created.</p>"""
    vpc_id: NotRequired["capo_migration_hub_refactor_spaces.types.vpc_id.VpcId"]
    """<p>The ID of the VPC.</p>"""
    endpoint_type: "capo_migration_hub_refactor_spaces.types.service_endpoint_type.ServiceEndpointType"
    """<p>The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.</p>"""
    url_endpoint: NotRequired[
        "capo_migration_hub_refactor_spaces.types.url_endpoint_input.UrlEndpointInput"
    ]
    """<p>The configuration for the URL endpoint type. When creating a route to a service, Refactor Spaces automatically resolves the address in the <code>UrlEndpointInput</code> object URL when the Domain Name System (DNS) time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60 seconds.</p>"""
    lambda_endpoint: NotRequired[
        "capo_migration_hub_refactor_spaces.types.lambda_endpoint_input.LambdaEndpointInput"
    ]
    """<p>The configuration for the Lambda endpoint type.</p>"""
    tags: NotRequired["capo_migration_hub_refactor_spaces.types.tag_map.TagMap"]
    """<p>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.. </p>"""
    client_token: NotRequired[
        "capo_migration_hub_refactor_spaces.types.client_token.ClientToken"
    ]
    """<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"""

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.

name instance-attribute

The name of the service.

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.

vpc_id instance-attribute

vpc_id: NotRequired[VpcId]

The ID of the VPC.