Class CfnApplicationPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
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 application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account.
In environments created with a CreateEnvironment:NetworkFabricType of NONE you need to configure VPC to VPC connectivity between your service VPC and the application proxy VPC to route traffic through the application proxy to a service with a private URL endpoint. For more information, see Create an application in the Refactor Spaces User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.refactorspaces.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnApplicationPropsMixin cfnApplicationPropsMixin = CfnApplicationPropsMixin.Builder.create(CfnApplicationMixinProps.builder()
.apiGatewayProxy(ApiGatewayProxyInputProperty.builder()
.endpointType("endpointType")
.stageName("stageName")
.build())
.environmentIdentifier("environmentIdentifier")
.name("name")
.proxyType("proxyType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcId("vpcId")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA wrapper object holding the Amazon API Gateway endpoint input.static final classA fluent builder forCfnApplicationPropsMixin.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::RefactorSpaces::Application.CfnApplicationPropsMixin(CfnApplicationMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::RefactorSpaces::Application.protectedCfnApplicationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApplicationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnApplicationMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnApplicationPropsMixin
protected CfnApplicationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnApplicationPropsMixin
protected CfnApplicationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnApplicationPropsMixin
@Stability(Stable) public CfnApplicationPropsMixin(@NotNull CfnApplicationMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::RefactorSpaces::Application.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnApplicationPropsMixin
Create a mixin to apply properties toAWS::RefactorSpaces::Application.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-