github.com/mweagle/Sparta@v1.15.0/aws/cloudformation/mappings.go (about)

     1  package cloudformation
     2  
     3  import (
     4  	gocf "github.com/mweagle/go-cloudformation"
     5  )
     6  
     7  // Constants for https://docs.aws.amazon.com/general/latest/gr/rande.html
     8  
     9  const (
    10  	// Endpoint property
    11  	Endpoint = "endpoint"
    12  	// Protocol property
    13  	Protocol = "protocol"
    14  	// HostedZoneID property
    15  	HostedZoneID = "hostedZoneID"
    16  )
    17  
    18  // APIGatewayMapping is the mapping for APIGateway settings
    19  var APIGatewayMapping = &gocf.Mapping{
    20  	"us-east-2": map[string]string{
    21  		Endpoint:     "apigateway.us-east-2.amazonaws.com",
    22  		Protocol:     "HTTPS",
    23  		HostedZoneID: "ZOJJZC49E0EPZ",
    24  	},
    25  	"us-east-1": map[string]string{
    26  		Endpoint:     "apigateway.us-east-1.amazonaws.com",
    27  		Protocol:     "HTTPS",
    28  		HostedZoneID: "Z1UJRXOUMOOFQ8",
    29  	},
    30  	"us-west-1": map[string]string{
    31  		Endpoint:     "apigateway.us-west-1.amazonaws.com",
    32  		Protocol:     "HTTPS",
    33  		HostedZoneID: "Z2MUQ32089INYE",
    34  	},
    35  	"us-west-2": map[string]string{
    36  		Endpoint:     "apigateway.us-west-2.amazonaws.com",
    37  		Protocol:     "HTTPS",
    38  		HostedZoneID: "Z2OJLYMUO9EFXC",
    39  	},
    40  	"ap-south-1": map[string]string{
    41  		Endpoint:     "apigateway.ap-south-1.amazonaws.com",
    42  		Protocol:     "HTTPS",
    43  		HostedZoneID: "Z3VO1THU9YC4UR",
    44  	},
    45  	"ap-northeast-3": map[string]string{
    46  		Endpoint:     "apigateway.ap-northeast-3.amazonaws.com",
    47  		Protocol:     "HTTPS",
    48  		HostedZoneID: "Z2YQB5RD63NC85",
    49  	},
    50  	"ap-northeast-2": map[string]string{
    51  		Endpoint:     "apigateway.ap-northeast-2.amazonaws.com",
    52  		Protocol:     "HTTPS",
    53  		HostedZoneID: "Z20JF4UZKIW1U8",
    54  	},
    55  	"ap-southeast-1": map[string]string{
    56  		Endpoint:     "apigateway.ap-southeast-1.amazonaws.com",
    57  		Protocol:     "HTTPS",
    58  		HostedZoneID: "ZL327KTPIQFUL",
    59  	},
    60  	"ap-southeast-2": map[string]string{
    61  		Endpoint:     "apigateway.ap-southeast-2.amazonaws.com",
    62  		Protocol:     "HTTPS",
    63  		HostedZoneID: "Z2RPCDW04V8134",
    64  	},
    65  	"ap-northeast-1": map[string]string{
    66  		Endpoint:     "apigateway.ap-northeast-1.amazonaws.com",
    67  		Protocol:     "HTTPS",
    68  		HostedZoneID: "Z1YSHQZHG15GKL",
    69  	},
    70  	"ca-central-1": map[string]string{
    71  		Endpoint:     "apigateway.ca-central-1.amazonaws.com",
    72  		Protocol:     "HTTPS",
    73  		HostedZoneID: "Z19DQILCV0OWEC",
    74  	},
    75  	"cn-north-1": map[string]string{
    76  		Endpoint:     "apigateway.cn-north-1.amazonaws.com.cn",
    77  		Protocol:     "HTTPS",
    78  		HostedZoneID: "",
    79  	},
    80  	"cn-northwest-1": map[string]string{
    81  		Endpoint:     "apigateway.cn-northwest-1.amazonaws.com.cn",
    82  		Protocol:     "HTTPS",
    83  		HostedZoneID: "",
    84  	},
    85  	"eu-central-1": map[string]string{
    86  		Endpoint:     "apigateway.eu-central-1.amazonaws.com",
    87  		Protocol:     "HTTPS",
    88  		HostedZoneID: "Z1U9ULNL0V5AJ3",
    89  	},
    90  	"eu-west-1": map[string]string{
    91  		Endpoint:     "apigateway.eu-west-1.amazonaws.com",
    92  		Protocol:     "HTTPS",
    93  		HostedZoneID: "ZLY8HYME6SFDD",
    94  	},
    95  	"eu-west-2": map[string]string{
    96  		Endpoint:     "apigateway.eu-west-2.amazonaws.com",
    97  		Protocol:     "HTTPS",
    98  		HostedZoneID: "ZJ5UAJN8Y3Z2Q",
    99  	},
   100  	"eu-west-3": map[string]string{
   101  		Endpoint:     "apigateway.eu-west-3.amazonaws.com",
   102  		Protocol:     "HTTPS",
   103  		HostedZoneID: "Z3KY65QIEKYHQQ",
   104  	},
   105  	"eu-north-1": map[string]string{
   106  		Endpoint:     "apigateway.eu-north-1.amazonaws.com",
   107  		Protocol:     "HTTPS",
   108  		HostedZoneID: "Z2YB950C88HT6D",
   109  	},
   110  	"sa-east-1": map[string]string{
   111  		Endpoint:     "apigateway.sa-east-1.amazonaws.com",
   112  		Protocol:     "HTTPS",
   113  		HostedZoneID: "ZCMLWB8V5SYIT",
   114  	},
   115  }