Skip to content
v2.278.0

CfnEnvironmentPropsMixin ​

Mixin External

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 environment. The caller owns the environment resource, and all Refactor Spaces applications, services, and routes created within the environment. They are referred to as the environment owner . The environment owner has cross-account visibility and control of Refactor Spaces resources that are added to the environment by other accounts that the environment is shared with.

When creating an environment with a CreateEnvironment:NetworkFabricType of TRANSIT_GATEWAY , Refactor Spaces provisions a transit gateway to enable services in VPCs to communicate directly across accounts. If CreateEnvironment:NetworkFabricType is NONE , Refactor Spaces does not create a transit gateway and you must use your network infrastructure to route traffic to services with private URL endpoints.

Initializer ​

ts
new CfnEnvironmentPropsMixin(props: CfnEnvironmentMixinProps, options?: CfnPropertyMixinOptions)
python
CfnEnvironmentPropsMixin(props: CfnEnvironmentMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnEnvironmentPropsMixin(CfnEnvironmentMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnEnvironmentPropsMixin(CfnEnvironmentMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnEnvironmentPropsMixin(Props CfnEnvironmentMixinProps, 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.