package awsappmesh // An object that represents the match method. // // Specify one of the match values. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // grpcRouteMetadataMatchMethodProperty := &GrpcRouteMetadataMatchMethodProperty{ // Exact: jsii.String("exact"), // Prefix: jsii.String("prefix"), // Range: &MatchRangeProperty{ // End: jsii.Number(123), // Start: jsii.Number(123), // }, // Regex: jsii.String("regex"), // Suffix: jsii.String("suffix"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html // type CfnRoute_GrpcRouteMetadataMatchMethodProperty struct { // The value sent by the client must match the specified value exactly. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-exact // Exact *string `field:"optional" json:"exact" yaml:"exact"` // The value sent by the client must begin with the specified characters. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-prefix // Prefix *string `field:"optional" json:"prefix" yaml:"prefix"` // An object that represents the range of values to match on. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-range // Range interface{} `field:"optional" json:"range" yaml:"range"` // The value sent by the client must include the specified characters. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-regex // Regex *string `field:"optional" json:"regex" yaml:"regex"` // The value sent by the client must end with the specified characters. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-suffix // Suffix *string `field:"optional" json:"suffix" yaml:"suffix"` }