200 lines
No EOL
5.5 KiB
JSON
200 lines
No EOL
5.5 KiB
JSON
{
|
|
"version": "1.1",
|
|
"parameters": {
|
|
"Region": {
|
|
"builtIn": "AWS::Region",
|
|
"required": true,
|
|
"documentation": "The AWS region to send requests to.",
|
|
"type": "string"
|
|
},
|
|
"Endpoint": {
|
|
"builtIn": "SDK::Endpoint",
|
|
"required": false,
|
|
"documentation": "Override the endpoint used to send requests.",
|
|
"type": "string"
|
|
},
|
|
"UseFIPS": {
|
|
"builtIn": "AWS::UseFIPS",
|
|
"required": true,
|
|
"default": false,
|
|
"documentation": "Use FIPS endpoints.",
|
|
"type": "boolean"
|
|
},
|
|
"UseDualStack": {
|
|
"builtIn": "AWS::UseDualStack",
|
|
"required": true,
|
|
"default": false,
|
|
"documentation": "Use dual-stack endpoints.",
|
|
"type": "boolean"
|
|
},
|
|
"ServiceType": {
|
|
"required": true,
|
|
"documentation": "The service type: ACM or ACM-ACME. Injected via @staticContextParams.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"conditions": [
|
|
{
|
|
"fn": "isSet",
|
|
"argv": [
|
|
{
|
|
"ref": "Endpoint"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"fn": "aws.partition",
|
|
"argv": [
|
|
{
|
|
"ref": "Region"
|
|
}
|
|
],
|
|
"assign": "PartitionResult"
|
|
},
|
|
{
|
|
"fn": "stringEquals",
|
|
"argv": [
|
|
{
|
|
"ref": "ServiceType"
|
|
},
|
|
"ACM-ACME"
|
|
]
|
|
},
|
|
{
|
|
"fn": "stringEquals",
|
|
"argv": [
|
|
{
|
|
"fn": "getAttr",
|
|
"argv": [
|
|
{
|
|
"ref": "PartitionResult"
|
|
},
|
|
"name"
|
|
]
|
|
},
|
|
"aws"
|
|
]
|
|
},
|
|
{
|
|
"fn": "booleanEquals",
|
|
"argv": [
|
|
{
|
|
"ref": "UseFIPS"
|
|
},
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"fn": "booleanEquals",
|
|
"argv": [
|
|
{
|
|
"ref": "UseDualStack"
|
|
},
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"fn": "stringEquals",
|
|
"argv": [
|
|
{
|
|
"fn": "getAttr",
|
|
"argv": [
|
|
{
|
|
"ref": "PartitionResult"
|
|
},
|
|
"name"
|
|
]
|
|
},
|
|
"aws-us-gov"
|
|
]
|
|
}
|
|
],
|
|
"results": [
|
|
{
|
|
"conditions": [],
|
|
"endpoint": {
|
|
"url": "{Endpoint}",
|
|
"properties": {},
|
|
"headers": {}
|
|
},
|
|
"type": "endpoint"
|
|
},
|
|
{
|
|
"conditions": [],
|
|
"error": "FIPS endpoints are not available for ACME operations",
|
|
"type": "error"
|
|
},
|
|
{
|
|
"documentation": "ACME standard",
|
|
"conditions": [],
|
|
"endpoint": {
|
|
"url": "https://acm-acme.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
"properties": {},
|
|
"headers": {}
|
|
},
|
|
"type": "endpoint"
|
|
},
|
|
{
|
|
"documentation": "ACME operations are only available in commercial AWS partitions",
|
|
"conditions": [],
|
|
"error": "ACME operations are only available in commercial AWS partitions",
|
|
"type": "error"
|
|
},
|
|
{
|
|
"conditions": [],
|
|
"endpoint": {
|
|
"url": "https://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
"properties": {},
|
|
"headers": {}
|
|
},
|
|
"type": "endpoint"
|
|
},
|
|
{
|
|
"conditions": [],
|
|
"endpoint": {
|
|
"url": "https://acm.{Region}.amazonaws.com",
|
|
"properties": {},
|
|
"headers": {}
|
|
},
|
|
"type": "endpoint"
|
|
},
|
|
{
|
|
"documentation": "ACM FIPS standard",
|
|
"conditions": [],
|
|
"endpoint": {
|
|
"url": "https://acm-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
"properties": {},
|
|
"headers": {}
|
|
},
|
|
"type": "endpoint"
|
|
},
|
|
{
|
|
"conditions": [],
|
|
"endpoint": {
|
|
"url": "https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
"properties": {},
|
|
"headers": {}
|
|
},
|
|
"type": "endpoint"
|
|
},
|
|
{
|
|
"documentation": "ACM standard",
|
|
"conditions": [],
|
|
"endpoint": {
|
|
"url": "https://acm.{Region}.{PartitionResult#dnsSuffix}",
|
|
"properties": {},
|
|
"headers": {}
|
|
},
|
|
"type": "endpoint"
|
|
},
|
|
{
|
|
"documentation": "Fallback error if region is not set",
|
|
"conditions": [],
|
|
"error": "Region must be set to resolve an endpoint.",
|
|
"type": "error"
|
|
}
|
|
],
|
|
"root": 2,
|
|
"nodeCount": 10,
|
|
"nodes": "/////wAAAAH/////AAAAAAX14QEAAAADAAAAAQAAAAQF9eEKAAAAAgAAAAkAAAAFAAAABAAAAAcAAAAGAAAABQX14QgF9eEJAAAABQX14QUAAAAIAAAABgX14QYF9eEHAAAAAwAAAAoF9eEEAAAABAX14QIF9eED"
|
|
} |