Class CfnRouteProps
Properties for defining a CfnRoute
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.RefactorSpaces
Assembly: Amazon.CDK.AWS.RefactorSpaces.dll
Syntax (csharp)
public class CfnRouteProps : Object, ICfnRouteProps
Syntax (vb)
Public Class CfnRouteProps
Inherits Object
Implements ICfnRouteProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RefactorSpaces;
var cfnRouteProps = new CfnRouteProps {
ApplicationIdentifier = "applicationIdentifier",
EnvironmentIdentifier = "environmentIdentifier",
RouteType = "routeType",
ServiceIdentifier = "serviceIdentifier",
// the properties below are optional
DefaultRoute = new DefaultRouteInputProperty {
ActivationState = "activationState"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UriPathRoute = new UriPathRouteInputProperty {
ActivationState = "activationState",
// the properties below are optional
AppendSourcePath = false,
IncludeChildPaths = false,
Methods = new [] { "methods" },
SourcePath = "sourcePath"
}
};
Synopsis
Constructors
CfnRouteProps() |
Properties
ApplicationIdentifier | The unique identifier of the application. |
DefaultRoute | Configuration for the default route type. |
EnvironmentIdentifier | The unique identifier of the environment. |
RouteType | The route type of the route. |
ServiceIdentifier | The unique identifier of the service. |
Tags | The tags assigned to the route. |
UriPathRoute | The configuration for the URI path route type. |
Constructors
CfnRouteProps()
public CfnRouteProps()
Properties
ApplicationIdentifier
The unique identifier of the application.
public string ApplicationIdentifier { get; set; }
Property Value
System.String
Remarks
DefaultRoute
Configuration for the default route type.
public object DefaultRoute { get; set; }
Property Value
System.Object
Remarks
EnvironmentIdentifier
The unique identifier of the environment.
public string EnvironmentIdentifier { get; set; }
Property Value
System.String
Remarks
RouteType
The route type of the route.
public string RouteType { get; set; }
Property Value
System.String
Remarks
ServiceIdentifier
The unique identifier of the service.
public string ServiceIdentifier { get; set; }
Property Value
System.String
Remarks
Tags
The tags assigned to the route.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
UriPathRoute
The configuration for the URI path route type.
public object UriPathRoute { get; set; }
Property Value
System.Object