Skip to content
v2.278.0

CfnServicePropsMixin Mixin ​

AWS Migration Hub is no longer open to new customers as of November 7, 2025.

For capabilities similar to AWS Migration Hub , explore AWS Migration Hub .

Creates an AWS 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 AWS 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.

Initializer ​

ts
new CfnServicePropsMixin(props: CfnServiceMixinProps, options?: CfnPropertyMixinOptions)
python
CfnServicePropsMixin(props: CfnServiceMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnServicePropsMixin(CfnServiceMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnServicePropsMixin(CfnServiceMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnServicePropsMixin(Props CfnServiceMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct) #
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *bool static #
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool #
Check if this mixin supports the given construct.