interface CfnRouteProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RefactorSpaces.CfnRouteProps |
Java | software.amazon.awscdk.services.refactorspaces.CfnRouteProps |
Python | aws_cdk.aws_refactorspaces.CfnRouteProps |
TypeScript | @aws-cdk/aws-refactorspaces » CfnRouteProps |
Properties for defining a CfnRoute
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as refactorspaces from '@aws-cdk/aws-refactorspaces';
const cfnRouteProps: refactorspaces.CfnRouteProps = {
applicationIdentifier: 'applicationIdentifier',
environmentIdentifier: 'environmentIdentifier',
routeType: 'routeType',
serviceIdentifier: 'serviceIdentifier',
// the properties below are optional
defaultRoute: {
activationState: 'activationState',
},
tags: [{
key: 'key',
value: 'value',
}],
uriPathRoute: {
activationState: 'activationState',
// the properties below are optional
appendSourcePath: false,
includeChildPaths: false,
methods: ['methods'],
sourcePath: 'sourcePath',
},
};
Properties
Name | Type | Description |
---|---|---|
application | string | The unique identifier of the application. |
environment | string | The unique identifier of the environment. |
route | string | The route type of the route. |
service | string | The unique identifier of the service. |
default | IResolvable | Default | Configuration for the default route type. |
tags? | Cfn [] | The tags assigned to the route. |
uri | IResolvable | Uri | The configuration for the URI path route type. |
applicationIdentifier
Type:
string
The unique identifier of the application.
environmentIdentifier
Type:
string
The unique identifier of the environment.
routeType
Type:
string
The route type of the route.
serviceIdentifier
Type:
string
The unique identifier of the service.
defaultRoute?
Type:
IResolvable
|
Default
(optional)
Configuration for the default route type.
tags?
Type:
Cfn
[]
(optional)
The tags assigned to the route.
uriPathRoute?
Type:
IResolvable
|
Uri
(optional)
The configuration for the URI path route type.