aws-cdk-lib.aws_refactorspaces.CfnRouteProps

interface CfnRouteProps

LanguageType name
.NETAmazon.CDK.AWS.RefactorSpaces.CfnRouteProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsrefactorspaces#CfnRouteProps
Javasoftware.amazon.awscdk.services.refactorspaces.CfnRouteProps
Pythonaws_cdk.aws_refactorspaces.CfnRouteProps
TypeScript aws-cdk-lib » 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 { aws_refactorspaces as refactorspaces } from 'aws-cdk-lib';
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

NameTypeDescription
applicationIdentifierstringThe unique identifier of the application.
environmentIdentifierstringThe unique identifier of the environment.
routeTypestringThe route type of the route.
serviceIdentifierstringThe unique identifier of the service.
defaultRoute?IResolvable | DefaultRouteInputPropertyConfiguration for the default route type.
tags?CfnTag[]The tags assigned to the route.
uriPathRoute?IResolvable | UriPathRouteInputPropertyThe 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 | DefaultRouteInputProperty (optional)

Configuration for the default route type.


tags?

Type: CfnTag[] (optional)

The tags assigned to the route.


uriPathRoute?

Type: IResolvable | UriPathRouteInputProperty (optional)

The configuration for the URI path route type.