AWS::RefactorSpaces::Service
Creates an Amazon 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.
Important
If an Amazon 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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::RefactorSpaces::Service", "Properties" : { "ApplicationIdentifier" :String, "Description" :String, "EndpointType" :String, "EnvironmentIdentifier" :String, "LambdaEndpoint" :LambdaEndpointInput, "Name" :String, "Tags" :[ Tag, ... ], "UrlEndpoint" :UrlEndpointInput, "VpcId" :String} }
YAML
Type: AWS::RefactorSpaces::Service Properties: ApplicationIdentifier:StringDescription:StringEndpointType:StringEnvironmentIdentifier:StringLambdaEndpoint:LambdaEndpointInputName:StringTags:- TagUrlEndpoint:UrlEndpointInputVpcId:String
Properties
ApplicationIdentifier-
The unique identifier of the application.
Required: Yes
Type: String
Update requires: Replacement
Description-
A description of the service.
Required: No
Type: String
Update requires: Replacement
EndpointType-
The endpoint type of the service.
Required: Yes
Type: String
Update requires: Replacement
EnvironmentIdentifier-
The unique identifier of the environment.
Required: Yes
Type: String
Update requires: Replacement
LambdaEndpoint-
A summary of the configuration for the Amazon Lambda endpoint type.
Required: No
Type: LambdaEndpointInput
Update requires: Replacement
Name-
The name of the service.
Required: Yes
Type: String
Update requires: Replacement
Tags-
The tags assigned to the service.
Required: No
Type: List of Tag
Update requires: No interruption
UrlEndpoint-
The summary of the configuration for the URL endpoint type.
Required: No
Type: UrlEndpointInput
Update requires: Replacement
VpcId-
The ID of the virtual private cloud (VPC).
Required: No
Type: String
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns a composite ID following this format:
<EnvironmentId>|<ApplicationId>|<ServiceId>. For example,
env-1234654123|app-1234654123|svc-1234654123.
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.