Class CfnApplication
- All Implemented Interfaces:
- IConstruct,- IDependable,- IInspectable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
AWS::RefactorSpaces::Application.
 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.services.refactorspaces.*;
 CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication")
         .environmentIdentifier("environmentIdentifier")
         .name("name")
         .proxyType("proxyType")
         .vpcId("vpcId")
         // the properties below are optional
         .apiGatewayProxy(ApiGatewayProxyInputProperty.builder()
                 .endpointType("endpointType")
                 .stageName("stageName")
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceA wrapper object holding the Amazon API Gateway endpoint input.static final classA fluent builder forCfnApplication.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCfnApplication(Construct scope, String id, CfnApplicationProps props) Create a newAWS::RefactorSpaces::Application.protectedCfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApplication(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier and TypeMethodDescriptionThe endpoint URL of the Amazon API Gateway proxy.The resource ID of the API Gateway for the proxy.The unique identifier of the application.The Amazon Resource Name (ARN) of the application.The Amazon Resource Name (ARN) of the Network Load Balancer .The name of the Network Load Balancer configured by the API Gateway proxy.The endpoint URL of the Amazon API Gateway proxy.The name of the API Gateway stage.TheVpcLinkID of the API Gateway proxy.The unique identifier of the environment.getName()The name of the application.The proxy type of the proxy created within the application.getTags()The tags assigned to the application.getVpcId()The ID of the virtual private cloud (VPC).voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetApiGatewayProxy(IResolvable value) The endpoint URL of the Amazon API Gateway proxy.voidThe endpoint URL of the Amazon API Gateway proxy.voidsetEnvironmentIdentifier(String value) The unique identifier of the environment.voidThe name of the application.voidsetProxyType(String value) The proxy type of the proxy created within the application.voidThe ID of the virtual private cloud (VPC).Methods inherited from class software.amazon.awscdk.core.CfnResourceaddDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnApplicationprotected CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnApplicationprotected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnApplication@Stability(Stable) public CfnApplication(@NotNull Construct scope, @NotNull String id, @NotNull CfnApplicationProps props) Create a newAWS::RefactorSpaces::Application.- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- props-- resource properties.
 
 
 
- 
- 
Method Details- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- Parameters:
- inspector-- tree inspector to collect and process attributes.
 
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
- renderPropertiesin class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getAttrApiGatewayIdThe resource ID of the API Gateway for the proxy.
- 
getAttrApplicationIdentifierThe unique identifier of the application.
- 
getAttrArnThe Amazon Resource Name (ARN) of the application.
- 
getAttrNlbArnThe Amazon Resource Name (ARN) of the Network Load Balancer .
- 
getAttrNlbNameThe name of the Network Load Balancer configured by the API Gateway proxy.
- 
getAttrProxyUrlThe endpoint URL of the Amazon API Gateway proxy.
- 
getAttrStageNameThe name of the API Gateway stage.The name defaults to prod.
- 
getAttrVpcLinkIdTheVpcLinkID of the API Gateway proxy.
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getTagsThe tags assigned to the application.
- 
getEnvironmentIdentifierThe unique identifier of the environment.
- 
setEnvironmentIdentifierThe unique identifier of the environment.
- 
getNameThe name of the application.
- 
setNameThe name of the application.
- 
getProxyTypeThe proxy type of the proxy created within the application.
- 
setProxyTypeThe proxy type of the proxy created within the application.
- 
getVpcIdThe ID of the virtual private cloud (VPC).
- 
setVpcIdThe ID of the virtual private cloud (VPC).
- 
getApiGatewayProxyThe endpoint URL of the Amazon API Gateway proxy.
- 
setApiGatewayProxy@Stability(Stable) public void setApiGatewayProxy(@Nullable CfnApplication.ApiGatewayProxyInputProperty value) The endpoint URL of the Amazon API Gateway proxy.
- 
setApiGatewayProxyThe endpoint URL of the Amazon API Gateway proxy.
 
-