split method is the CloudFormation Fn::Split equivalent.
resource(:instance, "AWS::EC2::Instance", instance_type: ref(:instance_type), image_id: "ami-0de53d8956e8dcf80", security_group_ids: split(",", ref(:security_groups)) )
Resources: Instance: Type: AWS::EC2::Instance Properties: InstanceType: Ref: InstanceType ImageId: ami-0de53d8956e8dcf80 SecurityGroupIds: Fn::Split: - "," - Ref: SecurityGroups
Back to Intrinsic Functions List.
Pro tip: Use the <- and -> arrow keys to move back and forward.