Creates an Amazon Web Services Migration Hub Refactor Spaces service. The account owner of the service is always the environment owner, regardless of which account in the environment creates the service. Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda function endpoint.
If an Amazon Web Services resource is launched in a service VPC, and you want it to be accessible to all of an environment’s services with VPCs and routes, apply the RefactorSpacesSecurityGroup to the resource. Alternatively, to add more cross-account constraints, apply your own security group.
post/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services
Path parameters
ApplicationIdentifierstring required
The ID of the application which the service is created.
EnvironmentIdentifierstring required
The ID of the environment in which the service is created.
Request body
Response
Success