{
  "Resources": {
    "UserRoleB7C3739B": {
      "Type": "AWS::IAM::Role",
      "Properties": {
        "AssumeRolePolicyDocument": {
          "Statement": [
            {
              "Action": "sts:AssumeRole",
              "Effect": "Allow",
              "Principal": {
                "AWS": {
                  "Fn::Join": [
                    "",
                    [
                      "arn:",
                      {
                        "Ref": "AWS::Partition"
                      },
                      ":iam::",
                      {
                        "Ref": "AWS::AccountId"
                      },
                      ":root"
                    ]
                  ]
                }
              }
            }
          ],
          "Version": "2012-10-17"
        }
      }
    },
    "UserRoleDefaultPolicyBC5E062B": {
      "Type": "AWS::IAM::Policy",
      "Properties": {
        "PolicyDocument": {
          "Statement": [
            {
              "Action": [
                "ssm:DescribeParameters",
                "ssm:GetParameters",
                "ssm:GetParameter",
                "ssm:GetParameterHistory"
              ],
              "Effect": "Allow",
              "Resource": {
                "Fn::Join": [
                  "",
                  [
                    "arn:",
                    {
                      "Ref": "AWS::Partition"
                    },
                    ":ssm:",
                    {
                      "Ref": "AWS::Region"
                    },
                    ":",
                    {
                      "Ref": "AWS::AccountId"
                    },
                    ":parameter/",
                    {
                      "Ref": "StringParameter472EED0E"
                    }
                  ]
                ]
              }
            }
          ],
          "Version": "2012-10-17"
        },
        "PolicyName": "UserRoleDefaultPolicyBC5E062B",
        "Roles": [
          {
            "Ref": "UserRoleB7C3739B"
          }
        ]
      }
    },
    "StringParameter472EED0E": {
      "Type": "AWS::SSM::Parameter",
      "Properties": {
        "Type": "String",
        "Value": "Initial parameter value"
      }
    },
    "StringListParameterFAC8EDDC": {
      "Type": "AWS::SSM::Parameter",
      "Properties": {
        "Type": "StringList",
        "Value": "Initial parameter value A,Initial parameter value B"
      }
    }
  },
  "Outputs": {
    "StringListOutput": {
      "Value": {
        "Fn::Join": [
          "+",
          {
            "Fn::Split": [
              ",",
              {
                "Fn::GetAtt": [
                  "StringListParameterFAC8EDDC",
                  "Value"
                ]
              }
            ]
          }
        ]
      }
    },
    "ParamArn": {
      "Value": {
        "Fn::Join": [
          "",
          [
            "arn:",
            {
              "Ref": "AWS::Partition"
            },
            ":ssm:",
            {
              "Ref": "AWS::Region"
            },
            ":",
            {
              "Ref": "AWS::AccountId"
            },
            ":parameter/",
            {
              "Ref": "StringParameter472EED0E"
            }
          ]
        ]
      }
    }
  }
}