@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.555Z") @Stability(value=Stable) public class CfnApplication extends CfnResource implements IInspectable
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.
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")
.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();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnApplication.ApiGatewayProxyInputProperty
A wrapper object holding the Amazon API Gateway endpoint input.
|
static class |
CfnApplication.Builder
A fluent builder for
CfnApplication. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnApplication(software.constructs.Construct scope,
String id)
Create a new `AWS::RefactorSpaces::Application`.
|
|
CfnApplication(software.constructs.Construct scope,
String id,
CfnApplicationProps props)
Create a new `AWS::RefactorSpaces::Application`.
|
protected |
CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getApiGatewayProxy()
The endpoint URL of the Amazon API Gateway proxy.
|
String |
getAttrApiGatewayId()
The resource ID of the API Gateway for the proxy.
|
String |
getAttrApplicationIdentifier()
The unique identifier of the application.
|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the application.
|
String |
getAttrNlbArn()
The Amazon Resource Name (ARN) of the Network Load Balancer .
|
String |
getAttrNlbName()
The name of the Network Load Balancer configured by the API Gateway proxy.
|
String |
getAttrProxyUrl()
The endpoint URL of the Amazon API Gateway proxy.
|
String |
getAttrStageName()
The name of the API Gateway stage.
|
String |
getAttrVpcLinkId()
The `VpcLink` ID of the API Gateway proxy.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getEnvironmentIdentifier()
The unique identifier of the environment.
|
String |
getName()
The name of the application.
|
String |
getProxyType()
The proxy type of the proxy created within the application.
|
TagManager |
getTags()
The tags assigned to the application.
|
String |
getVpcId()
The ID of the virtual private cloud (VPC).
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApiGatewayProxy(CfnApplication.ApiGatewayProxyInputProperty value)
The endpoint URL of the Amazon API Gateway proxy.
|
void |
setApiGatewayProxy(IResolvable value)
The endpoint URL of the Amazon API Gateway proxy.
|
void |
setEnvironmentIdentifier(String value)
The unique identifier of the environment.
|
void |
setName(String value)
The name of the application.
|
void |
setProxyType(String value)
The proxy type of the proxy created within the application.
|
void |
setVpcId(String value)
The ID of the virtual private cloud (VPC).
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnApplication(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnApplication(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnApplicationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnApplication(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrApiGatewayId()
@Stability(value=Stable) @NotNull public String getAttrApplicationIdentifier()
@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrNlbArn()
@Stability(value=Stable) @NotNull public String getAttrNlbName()
@Stability(value=Stable) @NotNull public String getAttrProxyUrl()
@Stability(value=Stable) @NotNull public String getAttrStageName()
The name defaults to prod .
@Stability(value=Stable) @NotNull public String getAttrVpcLinkId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getApiGatewayProxy()
@Stability(value=Stable)
public void setApiGatewayProxy(@Nullable
CfnApplication.ApiGatewayProxyInputProperty value)
@Stability(value=Stable)
public void setApiGatewayProxy(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getEnvironmentIdentifier()
@Stability(value=Stable)
public void setEnvironmentIdentifier(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getProxyType()
@Stability(value=Stable)
public void setProxyType(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getVpcId()
@Stability(value=Stable)
public void setVpcId(@Nullable
String value)
Copyright © 2022. All rights reserved.