split method is the CloudFormation Fn::Split equivalent.
resource("Instance", "AWS::EC2::Instance", instance_type: ref("InstanceType"), image_id: "ami-0de53d8956e8dcf80", security_group_ids: split(",", ref("SecurityGroups")) )
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.