{
    "version": "1.1",
    "parameters": {
        "UseFIPS": {
            "builtIn": "AWS::UseFIPS",
            "required": true,
            "default": false,
            "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
            "type": "boolean"
        },
        "Region": {
            "builtIn": "AWS::Region",
            "required": false,
            "documentation": "The AWS region used to dispatch the request.",
            "type": "string"
        },
        "Endpoint": {
            "builtIn": "SDK::Endpoint",
            "required": false,
            "documentation": "Override the endpoint used to send this request",
            "type": "string"
        }
    },
    "conditions": [
        {
            "fn": "isSet",
            "argv": [
                {
                    "ref": "Endpoint"
                }
            ]
        },
        {
            "fn": "isSet",
            "argv": [
                {
                    "ref": "Region"
                }
            ]
        },
        {
            "fn": "aws.partition",
            "argv": [
                {
                    "ref": "Region"
                }
            ],
            "assign": "PartitionResult_ssa_2"
        },
        {
            "fn": "aws.partition",
            "argv": [
                "us-west-2"
            ],
            "assign": "PartitionResult_ssa_1"
        },
        {
            "fn": "booleanEquals",
            "argv": [
                {
                    "ref": "UseFIPS"
                },
                true
            ]
        },
        {
            "fn": "booleanEquals",
            "argv": [
                {
                    "fn": "getAttr",
                    "argv": [
                        {
                            "ref": "PartitionResult_ssa_1"
                        },
                        "supportsFIPS"
                    ]
                },
                true
            ]
        },
        {
            "fn": "booleanEquals",
            "argv": [
                {
                    "fn": "getAttr",
                    "argv": [
                        {
                            "ref": "PartitionResult_ssa_2"
                        },
                        "supportsFIPS"
                    ]
                },
                true
            ]
        }
    ],
    "results": [
        {
            "conditions": [],
            "endpoint": {
                "url": {
                    "ref": "Endpoint"
                },
                "properties": {},
                "headers": {}
            },
            "type": "endpoint"
        },
        {
            "conditions": [],
            "error": "Partition does not support FIPS.",
            "type": "error"
        },
        {
            "conditions": [],
            "endpoint": {
                "url": "https://codecatalyst-fips.global.{PartitionResult_ssa_1#dualStackDnsSuffix}",
                "properties": {},
                "headers": {}
            },
            "type": "endpoint"
        },
        {
            "conditions": [],
            "endpoint": {
                "url": "https://codecatalyst.global.{PartitionResult_ssa_1#dualStackDnsSuffix}",
                "properties": {},
                "headers": {}
            },
            "type": "endpoint"
        },
        {
            "conditions": [],
            "endpoint": {
                "url": "https://codecatalyst-fips.global.{PartitionResult_ssa_2#dualStackDnsSuffix}",
                "properties": {},
                "headers": {}
            },
            "type": "endpoint"
        },
        {
            "conditions": [],
            "endpoint": {
                "url": "https://codecatalyst.global.{PartitionResult_ssa_2#dualStackDnsSuffix}",
                "properties": {},
                "headers": {}
            },
            "type": "endpoint"
        }
    ],
    "root": 2,
    "nodeCount": 9,
    "nodes": "/////wAAAAH/////AAAAAAX14QEAAAADAAAAAQAAAAcAAAAEAAAAAwAAAAUF9eEAAAAABAAAAAYF9eEEAAAABQX14QMF9eECAAAAAgAAAAgF9eEAAAAABAAAAAkF9eEGAAAABgX14QUF9eEC"
}