@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.928Z") @Stability(value=Stable) public class CfnRoute extends CfnResource implements IInspectable
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.*;
CfnRoute cfnRoute = CfnRoute.Builder.create(this, "MyCfnRoute")
.applicationIdentifier("applicationIdentifier")
.environmentIdentifier("environmentIdentifier")
.serviceIdentifier("serviceIdentifier")
// the properties below are optional
.routeType("routeType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.uriPathRoute(UriPathRouteInputProperty.builder()
.activationState("activationState")
// the properties below are optional
.includeChildPaths(false)
.methods(List.of("methods"))
.sourcePath("sourcePath")
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnRoute.Builder
A fluent builder for
CfnRoute. |
static interface |
CfnRoute.UriPathRouteInputProperty
Example:
|
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 |
|---|---|
|
CfnRoute(software.constructs.Construct scope,
String id,
CfnRouteProps props)
Create a new `AWS::RefactorSpaces::Route`.
|
protected |
CfnRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRoute(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationIdentifier()
`AWS::RefactorSpaces::Route.ApplicationIdentifier`.
|
String |
getAttrArn() |
String |
getAttrPathResourceToId() |
String |
getAttrRouteIdentifier() |
protected Map<String,Object> |
getCfnProperties() |
String |
getEnvironmentIdentifier()
`AWS::RefactorSpaces::Route.EnvironmentIdentifier`.
|
String |
getRouteType()
`AWS::RefactorSpaces::Route.RouteType`.
|
String |
getServiceIdentifier()
`AWS::RefactorSpaces::Route.ServiceIdentifier`.
|
TagManager |
getTags()
`AWS::RefactorSpaces::Route.Tags`.
|
Object |
getUriPathRoute()
`AWS::RefactorSpaces::Route.UriPathRoute`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApplicationIdentifier(String value)
`AWS::RefactorSpaces::Route.ApplicationIdentifier`.
|
void |
setEnvironmentIdentifier(String value)
`AWS::RefactorSpaces::Route.EnvironmentIdentifier`.
|
void |
setRouteType(String value)
`AWS::RefactorSpaces::Route.RouteType`.
|
void |
setServiceIdentifier(String value)
`AWS::RefactorSpaces::Route.ServiceIdentifier`.
|
void |
setUriPathRoute(CfnRoute.UriPathRouteInputProperty value)
`AWS::RefactorSpaces::Route.UriPathRoute`.
|
void |
setUriPathRoute(IResolvable value)
`AWS::RefactorSpaces::Route.UriPathRoute`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, 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 CfnRoute(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnRoute(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnRouteProps 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. 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 getApplicationIdentifier()
@Stability(value=Stable)
public void setApplicationIdentifier(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrPathResourceToId()
@Stability(value=Stable) @NotNull public String getAttrRouteIdentifier()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getEnvironmentIdentifier()
@Stability(value=Stable)
public void setEnvironmentIdentifier(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getRouteType()
@Stability(value=Stable)
public void setRouteType(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getServiceIdentifier()
@Stability(value=Stable)
public void setServiceIdentifier(@NotNull
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getUriPathRoute()
@Stability(value=Stable)
public void setUriPathRoute(@Nullable
CfnRoute.UriPathRouteInputProperty value)
@Stability(value=Stable)
public void setUriPathRoute(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.