package awsappmesh // An object that represents a port mapping. // // 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" // // virtualGatewayPortMappingProperty := &VirtualGatewayPortMappingProperty{ // Port: jsii.Number(123), // Protocol: jsii.String("protocol"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayportmapping.html // type CfnVirtualGateway_VirtualGatewayPortMappingProperty struct { // The port used for the port mapping. // // Specify one protocol. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayportmapping.html#cfn-appmesh-virtualgateway-virtualgatewayportmapping-port // Port *float64 `field:"required" json:"port" yaml:"port"` // The protocol used for the port mapping. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayportmapping.html#cfn-appmesh-virtualgateway-virtualgatewayportmapping-protocol // Protocol *string `field:"required" json:"protocol" yaml:"protocol"` }